mirror of
https://github.com/ONLYOFFICE/web-apps.git
synced 2026-07-24 05:30:15 +08:00
Update Header.js
This commit is contained in:
@ -560,7 +560,7 @@ define([
|
||||
|
||||
$panelUsers.hide();
|
||||
|
||||
if ( !!DE ) {
|
||||
if ( !!window.DE ) {
|
||||
var mode_cls = Common.UI.Themes.isContentThemeDark() ? 'btn-mode-dark' : 'btn-mode-light';
|
||||
me.btnContentMode = createTitleButton('toolbar__icon icon--inverse ' + mode_cls, $html.findById('#slot-btn-mode'));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user