diff options
Diffstat (limited to 'www/js')
-rw-r--r-- | www/js/i18n.js | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/www/js/i18n.js b/www/js/i18n.js index 1d8f046..692104d 100644 --- a/www/js/i18n.js +++ b/www/js/i18n.js @@ -6,8 +6,7 @@ html5ks.i18n = { for (var k in uiStrings) { var e = document.getElementsByClassName(k); for (var i = e.length - 1; i >= 0; i--) { - var t = document.createTextNode(uiStrings[k]); - e[i].appendChild(t); + e[i].textContent = uiStrings[k]; } } }); |