dont reset theme of guests that have it set

This commit is contained in:
j 2011-11-04 16:27:46 +01:00
parent 7c9337d6c4
commit ecc7b0ba3e

View file

@ -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';
}