[common] changed theme loading

This commit is contained in:
Maxim Kadushkin 2021-05-14 17:05:47 +03:00
parent 6c6f0899ef
commit 6f32dd91a7

View file

@ -32,7 +32,7 @@ var params = (function() {
return urlParams;
})();
if ( !!params.uitheme && localStorage.getItem("ui-theme") != params.uitheme)
if ( !!params.uitheme && !localStorage.getItem("ui-theme") )
localStorage.setItem("ui-theme", params.uitheme);
var ui_theme_name = localStorage.getItem("ui-theme");