mirror of
https://github.com/ether/etherpad-lite.git
synced 2025-01-19 14:13:34 +01:00
add some semicoolons to prevent chrome warning
This commit is contained in:
parent
431c55811f
commit
629f909d57
1 changed files with 3 additions and 3 deletions
|
@ -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) {
|
||||
|
|
Loading…
Reference in a new issue