summaryrefslogtreecommitdiff
path: root/src/static/js/html10n.js
diff options
context:
space:
mode:
authorJohn McLear <john@mclear.co.uk>2015-04-13 10:52:15 +0100
committerJohn McLear <john@mclear.co.uk>2015-04-13 10:52:15 +0100
commit629f909d572bfd0f0dc8592bc856c8f7a4c7b25c (patch)
treea38d7b4575594921194011cd092ddaa91d975af9 /src/static/js/html10n.js
parent431c55811ff98fc850a42e99d7614b95032c20ce (diff)
downloadetherpad-lite-629f909d572bfd0f0dc8592bc856c8f7a4c7b25c.zip
add some semicoolons to prevent chrome warning
Diffstat (limited to 'src/static/js/html10n.js')
-rw-r--r--src/static/js/html10n.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/static/js/html10n.js b/src/static/js/html10n.js
index 19cf9de1..44abd7a0 100644
--- a/src/static/js/html10n.js
+++ b/src/static/js/html10n.js
@@ -681,9 +681,9 @@ window.html10n = (function(window, document, undefined) {
// Expand two-part locale specs
var i=0
langs.forEach(function(lang) {
- if(!lang) return
- langs[i++] = lang
- if(~lang.indexOf('-')) langs[i++] = lang.substr(0, lang.indexOf('-'))
+ if(!lang) return;
+ langs[i++] = lang;
+ if(~lang.indexOf('-')) langs[i++] = lang.substr(0, lang.indexOf('-'));
})
this.build(langs, function(er, translations) {