mirror of
https://github.com/ONLYOFFICE/web-apps.git
synced 2026-07-25 06:29:46 +08:00
[themes] fix bug 51545
This commit is contained in:
@ -262,7 +262,8 @@ define([
|
||||
|
||||
currentThemeId: function () {
|
||||
var t = Common.localStorage.getItem('ui-theme') || Common.localStorage.getItem('ui-theme-id');
|
||||
return get_ui_theme_name(t) || id_default_light_theme;
|
||||
var id = get_ui_theme_name(t);
|
||||
return !!themes_map[id] ? id : id_default_light_theme;
|
||||
},
|
||||
|
||||
defaultThemeId: function (type) {
|
||||
|
||||
Reference in New Issue
Block a user