mirror of
https://codeberg.org/nobody/LocalCDN.git
synced 2025-01-23 16:02:42 +01:00
innerText replaced with textContent to insert the translation
This commit is contained in:
parent
51f45e98cc
commit
2ffca8760f
@ -44,7 +44,7 @@ helpers.insertI18nContentIntoDocument = function (document) {
|
||||
if (i18nElement.type === 'button') {
|
||||
i18nElement.value = chrome.i18n.getMessage(i18nMessageName);
|
||||
} else {
|
||||
i18nElement.innerText = chrome.i18n.getMessage(i18nMessageName);
|
||||
i18nElement.textContent = chrome.i18n.getMessage(i18nMessageName);
|
||||
}
|
||||
i18nElement.setAttribute('dir', scriptDirection);
|
||||
} else {
|
||||
|
Loading…
Reference in New Issue
Block a user