Destruction of Require
This commit is contained in:
@@ -157,7 +157,7 @@ import 'emby-button';
|
||||
}
|
||||
|
||||
function alertTextWithOptions(options) {
|
||||
require(['alert'], alert => {
|
||||
import('alert').then(({default: alert}) => {
|
||||
alert(options);
|
||||
});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user