mirror of
https://github.com/ONLYOFFICE/web-apps.git
synced 2026-07-27 20:09:06 +08:00
[DE] fix bug 54348
This commit is contained in:
@ -325,7 +325,8 @@ define([
|
||||
})).on('click', _on_btn_zoom.bind(me, 'up'));
|
||||
|
||||
me.header.btnOptions.menu.on('item:click', me.onOptionsItemClick.bind(this));
|
||||
if ( !Common.UI.Themes.isDarkTheme() ) {
|
||||
var document = DE.getController('Main').document;
|
||||
if ( !Common.UI.Themes.isDarkTheme() || /^pdf|djvu|xps|oxps$/.test(document.fileType) ) {
|
||||
me.header.menuItemsDarkMode.hide();
|
||||
me.header.menuItemsDarkMode.$el.prev('.divider').hide();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user