mirror of
https://github.com/schlagmichdoch/PairDrop.git
synced 2025-04-23 16:26:17 -04:00
fix html attribute translation
This commit is contained in:
parent
72f0aff60e
commit
c2a746d69c
2 changed files with 2 additions and 2 deletions
|
@ -63,7 +63,7 @@ class Localization {
|
|||
if (attr === "text") {
|
||||
element.innerText = Localization.getTranslation(key);
|
||||
} else {
|
||||
element.attr = Localization.getTranslation(key, attr);
|
||||
element.setAttribute(attr, Localization.getTranslation(key, attr));
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue