From 629f909d572bfd0f0dc8592bc856c8f7a4c7b25c Mon Sep 17 00:00:00 2001 From: John McLear Date: Mon, 13 Apr 2015 10:52:15 +0100 Subject: add some semicoolons to prevent chrome warning --- src/static/js/html10n.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/static/js/html10n.js') 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) { -- cgit v1.2.3