diff --git a/dashboard-ui/themes/halloween/theme.js b/dashboard-ui/themes/halloween/theme.js index 732901e803..014954e81e 100644 --- a/dashboard-ui/themes/halloween/theme.js +++ b/dashboard-ui/themes/halloween/theme.js @@ -32,9 +32,9 @@ } else if ((new Date().getTime() - lastSound) > 30000) { playSound('http://github.com/MediaBrowser/Emby.Resources/raw/master/themes/halloween/howl.wav'); } - } - addIcon(); + addIcon(); + } } } @@ -107,10 +107,6 @@ pageClassOn('pageshow', "libraryPage", onPageShow); - //if ($($.mobile.activePage)[0].classList.contains('libraryPage')) { - // onPageShow.call($($.mobile.activePage)[0]); - //} - function playSound(path, volume) { require(['howler'], function (howler) {