mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
adjust dependency loading
This commit is contained in:
parent
2eb2a5011d
commit
d7fb9038a4
117 changed files with 639 additions and 29680 deletions
|
@ -59,18 +59,20 @@
|
|||
|
||||
function onIconClick() {
|
||||
|
||||
Dashboard.dialog({
|
||||
require(['dialog'], function (dialog) {
|
||||
dialog({
|
||||
|
||||
title: "Happy Halloween",
|
||||
message: "Happy Halloween from the Emby Team. We hope your Halloween is spooktacular! Would you like to allow the Halloween theme to continue?",
|
||||
callback: function (result) {
|
||||
title: "Happy Halloween",
|
||||
message: "Happy Halloween from the Emby Team. We hope your Halloween is spooktacular! Would you like to allow the Halloween theme to continue?",
|
||||
callback: function (result) {
|
||||
|
||||
if (result == 1) {
|
||||
destroyTheme();
|
||||
}
|
||||
},
|
||||
if (result == 1) {
|
||||
destroyTheme();
|
||||
}
|
||||
},
|
||||
|
||||
buttons: [Globalize.translate('ButtonYes'), Globalize.translate('ButtonNo')]
|
||||
buttons: [Globalize.translate('ButtonYes'), Globalize.translate('ButtonNo')]
|
||||
});
|
||||
});
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue