Default language to english when cookie is not set
This commit is contained in:
parent
954b65fa41
commit
4673f11d76
|
@ -1,6 +1,6 @@
|
||||||
$(window).load(function(){
|
$(window).load(function(){
|
||||||
$("#username").focus();
|
$("#username").focus();
|
||||||
$("#locale").val($.cookie("airtime_locale"));
|
$("#locale").val($.cookie("airtime_locale")!== null?$.cookie("airtime_locale"):'en_CA');
|
||||||
});
|
});
|
||||||
|
|
||||||
$(document).ready(function() {
|
$(document).ready(function() {
|
||||||
|
|
Loading…
Reference in New Issue