From ecc7b0ba3e3879f9861b546569b690d6b04ed484 Mon Sep 17 00:00:00 2001 From: j <0x006A@0x2620.org> Date: Fri, 4 Nov 2011 16:27:46 +0100 Subject: [PATCH] dont reset theme of guests that have it set --- static/js/pandora.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/static/js/pandora.js b/static/js/pandora.js index 0808c8137..5f89f70eb 100644 --- a/static/js/pandora.js +++ b/static/js/pandora.js @@ -249,7 +249,7 @@ appPanel videoFormat: Ox.UI.getVideoFormat(pandora.site.video.formats) }); - if (data.user.level == 'guest' && $.browser.mozilla) { + if (data.user.level == 'guest' && $.browser.mozilla && !localStorage.theme) { pandora.user.ui.theme = 'classic'; }