Skip to content

Commit

Permalink
Merge pull request 'Update apps/common/main/lib/util/themeinit.js' (#68
Browse files Browse the repository at this point in the history
…) from fix/editors-launch into release/v8.2.0
  • Loading branch information
maxkadushkin committed Oct 8, 2024
2 parents 5436091 + be0b10f commit 9986eab
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apps/common/main/lib/util/themeinit.js
Original file line number Diff line number Diff line change
Expand Up @@ -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");
});
Expand Down

0 comments on commit 9986eab

Please sign in to comment.