maybe solves @mmn's issue https://social.umeahackerspace.se/notice/193530
This commit is contained in:
parent
40cd97fcd7
commit
31aede3418
|
@ -275,7 +275,7 @@ $(window).load(function() {
|
|||
if(typeof localStorage.selectedLanguage != 'undefined' && localStorage.selectedLanguage != null) {
|
||||
window.selectedLanguage = localStorage.selectedLanguage;
|
||||
}
|
||||
else if(typeof window.l[browserLang] != 'undefined') {
|
||||
else if(typeof window.availableLanguages[browserLang] != 'undefined') {
|
||||
window.selectedLanguage = browserLang;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user