Remove excess whitespace, add extra equal sign to lang.js

This commit is contained in:
Robert Lord 2014-06-11 21:15:26 -07:00
parent cfa9f48dd0
commit d71ae97f7a

View file

@ -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));