diff --git a/public/js/locale.js b/public/js/locale.js index 702496e..e6d11cd 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