mirror of
https://github.com/ONLYOFFICE/web-apps.git
synced 2026-02-10 18:05:32 +08:00
[desktop] fix bug 64448
This commit is contained in:
@ -598,9 +598,9 @@ define([
|
||||
|
||||
const refresh_theme = function (force, caller) {
|
||||
if ( force || Common.localStorage.getItem('ui-theme-id') != window.uitheme.id ) {
|
||||
const theme_id = Common.localStorage.getItem('ui-theme-id');
|
||||
let theme_id = Common.localStorage.getItem('ui-theme-id');
|
||||
|
||||
if ( theme_id ) {
|
||||
if ( theme_id && (force && (theme_id = 'theme-system')) ) {
|
||||
apply_theme.call(this, theme_id);
|
||||
Common.NotificationCenter.trigger('uitheme:changed', theme_id, caller);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user