Merge pull request #830 from ONLYOFFICE/fix/bugfix

Fix bug
This commit is contained in:
Julia Radzhabova 2021-04-22 19:29:06 +03:00 committed by GitHub
commit acc67e6420
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -284,7 +284,7 @@ define([
parseIcons: function(icons) {
if (icons.length && typeof icons[0] !== 'string') {
var theme = Common.UI.Themes.current().toLowerCase(),
var theme = Common.UI.Themes.currentThemeId().toLowerCase(),
style = Common.UI.Themes.isDarkTheme() ? 'dark' : 'light',
idx = -1;
for (var i=0; i<icons.length; i++) {