mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
update theme
This commit is contained in:
parent
cb64a73aed
commit
458694881a
1 changed files with 4 additions and 2 deletions
|
@ -1,4 +1,4 @@
|
|||
define(['appSettings', 'backdrop', 'browser', 'globalize', 'css!./style.css', 'paper-icon-button-light'], function (appSettings, backdrop, browser, globalize) {
|
||||
define(['appSettings', 'backdrop', 'browser', 'globalize', 'require', 'paper-icon-button-light'], function (appSettings, backdrop, browser, globalize, require) {
|
||||
'use strict';
|
||||
|
||||
var lastSound = 0;
|
||||
|
@ -21,6 +21,8 @@
|
|||
|
||||
if (!browser.mobile) {
|
||||
|
||||
require(['css!./style.css']);
|
||||
|
||||
if (!page.classList.contains('itemDetailPage')) {
|
||||
backdrop.setBackdrop('themes/halloween/bg.jpg');
|
||||
}
|
||||
|
@ -98,9 +100,9 @@
|
|||
currentSound.stop();
|
||||
}
|
||||
|
||||
Dashboard.removeStylesheet('themes/halloween/style.css');
|
||||
backdrop.clear();
|
||||
appSettings.set(cancelKey, cancelValue);
|
||||
window.location.reload(true);
|
||||
}
|
||||
|
||||
pageClassOn('pageshow', "libraryPage", onPageShow);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue