diff --git a/static/js/init.js b/static/js/init.js index 0504471b5..9990b8a54 100644 --- a/static/js/init.js +++ b/static/js/init.js @@ -269,6 +269,7 @@ window.onerror = function(error, url, line) { } Ox.Theme(pandora.user.ui.theme); + localStorage.theme = pandora.user.ui.theme; pandora.$ui.appPanel = pandora.ui.appPanel().display(); Ox.Request.requests() && pandora.$ui.loadingIcon.start(); pandora.$ui.body.ajaxStart(pandora.$ui.loadingIcon.start); diff --git a/static/js/pandora/menu.js b/static/js/pandora/menu.js index 9f684d869..eadab0eb3 100644 --- a/static/js/pandora/menu.js +++ b/static/js/pandora/menu.js @@ -174,6 +174,7 @@ pandora.ui.mainMenu = function() { } else if (data.id == 'settheme') { Ox.Theme(value); pandora.UI.set('theme', value); + localStorage.theme = value; } else if (data.id == 'showsiteposter') { pandora.UI.set('showSitePoster', data.checked) } else if (Ox.startsWith(data.id, 'sortgroup')) {