summaryrefslogtreecommitdiff
path: root/www/js
diff options
context:
space:
mode:
authorAlex Xu <alex_y_xu@yahoo.ca>2014-01-02 15:27:58 -0500
committerAlex Xu <alex_y_xu@yahoo.ca>2014-01-02 15:27:58 -0500
commitdf88d7cc0ddcbd5379d882115bd9350dcc243c20 (patch)
treebe11fc898b64e48cb9993cde5dc01a715c55c8ee /www/js
parent4a4805603d4e810802533fa1f9d92ead10bcddbb (diff)
downloadhtml5ks-df88d7cc0ddcbd5379d882115bd9350dcc243c20.tar.xz
html5ks-df88d7cc0ddcbd5379d882115bd9350dcc243c20.zip
Change all text to i18n.
Diffstat (limited to 'www/js')
-rw-r--r--www/js/i18n.js3
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];
}
}
});