Update Header.js
This commit is contained in:
parent
148bc3e179
commit
2417c1d4db
|
@ -560,7 +560,7 @@ define([
|
||||||
|
|
||||||
$panelUsers.hide();
|
$panelUsers.hide();
|
||||||
|
|
||||||
if ( !!DE ) {
|
if ( !!window.DE ) {
|
||||||
var mode_cls = Common.UI.Themes.isContentThemeDark() ? 'btn-mode-dark' : 'btn-mode-light';
|
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'));
|
me.btnContentMode = createTitleButton('toolbar__icon icon--inverse ' + mode_cls, $html.findById('#slot-btn-mode'));
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue