[themes] debug

This commit is contained in:
Maxim Kadushkin 2021-05-12 17:20:01 +03:00
parent cdc2d781df
commit 5f1a5c7fb2

View file

@ -254,7 +254,7 @@ define([
},
setTheme: function (id, force) {
if ( (currentThemeId != id || force) && !!themes_map[id] ) {
if ( (this.currentThemeId() != id || force) && !!themes_map[id] ) {
var classname = document.body.className.replace(/theme-\w+\s?/, '');
document.body.className = classname;