Skip to content

Commit

Permalink
Fixed minor bug
Browse files Browse the repository at this point in the history
  • Loading branch information
lsubel committed Mar 22, 2016
1 parent 086b1e9 commit d41268b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion js/ApplicationManager.js
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ ApplicationManager.prototype.extractBrowserLanguage = function(){
if(ln.indexOf("-") >= 0){
ln = ln.substr(0, ln.indexOf("-"));
}
if(!res.includes(ln)){
if(res.indexOf(ln) == -1){
res.push(ln);
}
}
Expand Down

0 comments on commit d41268b

Please sign in to comment.