summaryrefslogtreecommitdiff
path: root/src/static/js/html10n.js
diff options
context:
space:
mode:
authorStefan <stefan@stefans-entwicklerecke.de>2015-04-13 17:27:37 +0200
committerStefan <stefan@stefans-entwicklerecke.de>2015-04-13 17:27:37 +0200
commit24b0712d77abb91ebea2d67f06f565861ec008f0 (patch)
tree8e7f6d9010151984ecfd99c133b6c23e163aaf5d /src/static/js/html10n.js
parentcc34f4e325830f798321b8152095c4dccd6b465f (diff)
parent64d94cb3464303a2564ee8dca28b2a872c30d650 (diff)
downloadetherpad-lite-24b0712d77abb91ebea2d67f06f565861ec008f0.zip
Merge new release into master branch!
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) {