forked from 0x2620/pandora
dont reset theme of guests that have it set
This commit is contained in:
parent
7c9337d6c4
commit
ecc7b0ba3e
1 changed files with 1 additions and 1 deletions
|
@ -249,7 +249,7 @@ appPanel
|
||||||
videoFormat: Ox.UI.getVideoFormat(pandora.site.video.formats)
|
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';
|
pandora.user.ui.theme = 'classic';
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue