1
0
Fork 0
mirror of https://github.com/jellyfin/jellyfin-web synced 2025-03-30 19:56:21 +00:00

Fix require of ES6 module

This commit is contained in:
Dmitry Lyzo 2020-07-27 13:27:27 +03:00
parent 793d74e82f
commit 2e315a422f

View file

@ -66,7 +66,7 @@ define(['jQuery', 'loading', 'libraryMenu', 'globalize', 'connectionManager', 'e
}
function alertText(options) {
require(['alert'], function (alert) {
require(['alert'], function ({default: alert}) {
alert(options);
});
}