Merge pull request #2772 from ONLYOFFICE/fix/problem-ie

[plugins] Fix problem with plugins icons in IE.
This commit is contained in:
Julia Radzhabova
2023-12-27 19:13:50 +03:00
committed by GitHub

View File

@ -301,7 +301,9 @@ define([
let paramName = bHasName ? 'theme' : 'style';
if (arrThemes.length) {
for (let thInd = 0; thInd < arrThemes.length; thInd++) {
result.push({[paramName]: arrThemes[thInd]});
let obj = {};
obj[paramName] = arrThemes[thInd];
result.push(obj);
}
} else {
result.push({});