mirror of
https://github.com/status-im/codimd.git
synced 2025-01-12 22:54:18 +00:00
commit
5236e568e7
@ -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…
x
Reference in New Issue
Block a user