mirror of
https://github.com/ONLYOFFICE/web-apps.git
synced 2026-07-24 01:13:22 +08:00
Update apps/common/main/lib/util/themeinit.js
[main] fix editors launch
This commit is contained in:
@ -123,7 +123,7 @@
|
||||
}
|
||||
}
|
||||
} else {
|
||||
if ( window.uitheme.id.lastIndexOf("theme-gray", 0) === 0 ) {
|
||||
if ( window.uitheme.id && window.uitheme.id.lastIndexOf("theme-gray", 0) === 0 ) {
|
||||
header_tokens.forEach(function (i) {
|
||||
!!document.documentElement.style.setProperty('--' + i, "#f7f7f7");
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user