diff --git a/apps/common/main/lib/controller/Themes.js b/apps/common/main/lib/controller/Themes.js index 2a6726ab6..882d362f3 100644 --- a/apps/common/main/lib/controller/Themes.js +++ b/apps/common/main/lib/controller/Themes.js @@ -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;