diff options
-rw-r--r-- | public/js/locale.js | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/public/js/locale.js b/public/js/locale.js index 702496e7..e6d11cd2 100644 --- a/public/js/locale.js +++ b/public/js/locale.js @@ -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 |