diff --git a/source/javascripts/app/lang.js b/source/javascripts/app/lang.js index 7c30056..111c67e 100644 --- a/source/javascripts/app/lang.js +++ b/source/javascripts/app/lang.js @@ -40,8 +40,8 @@ under the License. var defaultLanguage = localStorage.getItem("language"); languages = l; - - if ((location.search.substr(1) != "") && (jQuery.inArray(location.search.substr(1), languages)) != -1) { + + if ((location.search.substr(1) !== "") && (jQuery.inArray(location.search.substr(1), languages)) != -1) { // the language is in the URL, so use that language! activateLanguage(location.search.substr(1));