From: Aleksander Ɓukasz Date: Wed, 20 Mar 2013 11:04:20 +0000 (+0100) Subject: Fixes #2167 X-Git-Url: https://git.mdrn.pl/redakcja.git/commitdiff_plain/ec2890a60ffa83b2d0b729bc60df0576ef9f750b Fixes #2167 Ignoring right alt properly. On Windows this requires handling two separate key events, the second one (17) being for ctrl. --- diff --git a/redakcja/static/js/lib/jquery/jquery.autocomplete.js b/redakcja/static/js/lib/jquery/jquery.autocomplete.js index 1d7a51df..83d8f9d5 100644 --- a/redakcja/static/js/lib/jquery/jquery.autocomplete.js +++ b/redakcja/static/js/lib/jquery/jquery.autocomplete.js @@ -99,7 +99,8 @@ $.Autocompleter = function(input, options) { switch(event.keyCode) { // changed by fnp - case 0: + case 18: + case 17: break; // changed by fnp