mirror of
https://github.com/ONLYOFFICE/web-apps.git
synced 2026-07-24 23:43:19 +08:00
[themes] debug
This commit is contained in:
@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user