update theme

This commit is contained in:
Luke Pulverenti 2015-10-13 02:31:20 -04:00
parent 1ac9bfe5aa
commit 4670ba6fbf
7 changed files with 66 additions and 5 deletions

View file

@ -0,0 +1,20 @@
(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]);
}
})();