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

fix now playing background

This commit is contained in:
Luke Pulverenti 2015-09-04 12:20:54 -04:00
parent c7fa2299da
commit def595ff8a
26 changed files with 603 additions and 695 deletions

View file

@ -2108,6 +2108,11 @@ var AppInfo = {};
return {};
});
define("jqmlistview", ["thirdparty/jquerymobile-1.4.5/jqm.listview"], function () {
Dashboard.importCss('thirdparty/jquerymobile-1.4.5/jqm.listview.css');
return {};
});
define("hammer", ["bower_components/hammerjs/hammer.min"], function (Hammer) {
return Hammer;
});
@ -2188,6 +2193,7 @@ var AppInfo = {};
if (newHtml.indexOf('type-interior') != -1) {
depends.push('jqmicons');
depends.push('jqmpopup');
depends.push('jqmlistview');
}
require(depends, function () {
@ -2280,6 +2286,16 @@ $(document).on('pagecreate', ".page", function () {
current = newTheme;
}
var docElem = document.documentElement;
if (current == 'a') {
docElem.classList.add('background-theme-a');
docElem.classList.remove('background-theme-b');
} else {
docElem.classList.add('background-theme-b');
docElem.classList.remove('background-theme-a');
}
if (current != 'a' && !$.browser.mobile) {
document.body.classList.add('darkScrollbars');
} else {