mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
merge from dev
This commit is contained in:
parent
1c8f02ce0f
commit
33b01d778c
911 changed files with 34157 additions and 57125 deletions
|
@ -18,9 +18,9 @@
|
|||
return;
|
||||
}
|
||||
|
||||
Dashboard.importCss('themes/halloween/style.css');
|
||||
require(['css!themes/halloween/style.css']);
|
||||
|
||||
if (!$.browser.mobile) {
|
||||
if (!browserInfo.mobile) {
|
||||
|
||||
if (!page.classList.contains('itemDetailPage')) {
|
||||
Backdrops.setBackdropUrl(page, 'themes/halloween/bg.jpg');
|
||||
|
@ -59,19 +59,23 @@
|
|||
|
||||
function onIconClick() {
|
||||
|
||||
Dashboard.dialog({
|
||||
// todo: switch this to action sheet
|
||||
|
||||
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) {
|
||||
//require(['dialog'], function (dialog) {
|
||||
// dialog({
|
||||
|
||||
if (result == 1) {
|
||||
destroyTheme();
|
||||
}
|
||||
},
|
||||
// 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) {
|
||||
|
||||
buttons: [Globalize.translate('ButtonYes'), Globalize.translate('ButtonNo')]
|
||||
});
|
||||
// if (result == 1) {
|
||||
// destroyTheme();
|
||||
// }
|
||||
// },
|
||||
|
||||
// buttons: [Globalize.translate('ButtonYes'), Globalize.translate('ButtonNo')]
|
||||
// });
|
||||
//});
|
||||
}
|
||||
|
||||
function destroyTheme() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue