jellyfin-web/dashboard-ui/themes/halloween/theme.js
Luke Pulverenti 4670ba6fbf update theme
2015-10-13 02:31:20 -04:00

20 lines
443 B
JavaScript

(function () {
Dashboard.importCss('themes/halloween/style.css');
function onPageShow() {
var page = this;
if (!$.browser.mobile) {
Backdrops.setBackdropUrl(page, 'themes/halloween/bg.jpg');
}
}
pageClassOn('pageshow', "libraryPage", onPageShow);
if ($($.mobile.activePage)[0].classList.contains('libraryPage')) {
onPageShow.call($($.mobile.activePage)[0]);
}
})();