mirror of
https://github.com/danbulant/api_docs
synced 2026-05-19 04:08:40 +00:00
Remove excess whitespace, add extra equal sign to lang.js
This commit is contained in:
parent
cfa9f48dd0
commit
d71ae97f7a
1 changed files with 2 additions and 2 deletions
|
|
@ -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));
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue