diff options
author | kondou <kondou@ts.unde.re> | 2013-04-18 16:17:37 +0400 |
---|---|---|
committer | kondou <kondou@ts.unde.re> | 2013-04-18 17:14:42 +0400 |
commit | 79218be1d2214095eae1272eac7559a67a55a786 (patch) | |
tree | 55d031aea9abf5e987f159222a4dfc72716223c9 /settings/js | |
parent | cbd8b792d9505f2020aa4a0f54c031f26cb5fe02 (diff) |
Priorize common languages.
Diffstat (limited to 'settings/js')
-rw-r--r-- | settings/js/personal.js | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/settings/js/personal.js b/settings/js/personal.js index 7c879bcafe9..271de1599d9 100644 --- a/settings/js/personal.js +++ b/settings/js/personal.js @@ -88,6 +88,10 @@ $(document).ready(function(){ $("#languageinput").chosen(); $("#languageinput").change( function(){ + // the divider is no language + if ($("#languageinput option").hasClass('divider')) { + return false; + } // Serialize the data var post = $( "#languageinput" ).serialize(); // Ajax foo |