We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent fd53aed commit e93ec03Copy full SHA for e93ec03
sdkjs-plugins/content/openai/scripts/code.js
@@ -425,18 +425,16 @@
425
};
426
427
window.Asc.plugin.onTranslate = function() {
428
- if (isIE)
429
- return;
430
-
431
if (bCreateLoader)
432
createLoader();
433
434
let elements = document.querySelectorAll('.i18n');
435
bCreateLoader = true;
436
437
- elements.forEach(function(element) {
+ for (let index = 0; index < elements.length; index++) {
+ let element = elements[index];
438
element.innerText = getMessage(element.innerText);
439
- })
+ }
440
441
442
window.Asc.plugin.onThemeChanged = function(theme)
0 commit comments