1
0
Fork 0
mirror of https://github.com/jellyfin/jellyfin-web synced 2025-03-30 19:56:21 +00:00
jellyfin-web/dashboard-ui/themes/halloween/theme.js

20 lines
443 B
JavaScript
Raw Normal View History

2015-10-13 02:31:20 -04:00
(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]);
}
})();