[common] changed theme loading
This commit is contained in:
parent
6c6f0899ef
commit
6f32dd91a7
|
@ -32,7 +32,7 @@ var params = (function() {
|
||||||
return urlParams;
|
return urlParams;
|
||||||
})();
|
})();
|
||||||
|
|
||||||
if ( !!params.uitheme && localStorage.getItem("ui-theme") != params.uitheme)
|
if ( !!params.uitheme && !localStorage.getItem("ui-theme") )
|
||||||
localStorage.setItem("ui-theme", params.uitheme);
|
localStorage.setItem("ui-theme", params.uitheme);
|
||||||
|
|
||||||
var ui_theme_name = localStorage.getItem("ui-theme");
|
var ui_theme_name = localStorage.getItem("ui-theme");
|
||||||
|
|
Loading…
Reference in a new issue