commit
5236e568e7
1 changed files with 2 additions and 0 deletions
|
@ -16,6 +16,8 @@ if (Cookies.get('locale')) {
|
|||
}
|
||||
|
||||
locale.val(lang);
|
||||
$('select.ui-locale option[value="' + lang + '"]').attr('selected','selected');
|
||||
|
||||
locale.change(function() {
|
||||
Cookies.set('locale', $(this).val(), {
|
||||
expires: 365
|
||||
|
|
Loading…
Reference in a new issue