mirror of
https://github.com/MrEidam/bigredbutton.git
synced 2026-04-17 15:43:31 +00:00
New language detection
This commit is contained in:
@@ -80,7 +80,14 @@ window.onload = function(){
|
||||
items[item] = 0;
|
||||
}
|
||||
}
|
||||
if(items.joke==0||!items.joke){location.href = './lang';}
|
||||
if(items.joke==0||!items.joke){
|
||||
if(navigator.language == 'cs' || navigator.language == 'cs-CZ'){
|
||||
items.lang = 0;
|
||||
}else{
|
||||
items.lang = 1;
|
||||
}
|
||||
items.joke = 69;
|
||||
}
|
||||
cash();
|
||||
checklang();
|
||||
LDmodes();
|
||||
|
||||
Reference in New Issue
Block a user