diff options
Diffstat (limited to 'share/www/script/jquery.suggest.js')
-rw-r--r-- | share/www/script/jquery.suggest.js | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/share/www/script/jquery.suggest.js b/share/www/script/jquery.suggest.js index 4bb8b2d0..bc0dfbf8 100644 --- a/share/www/script/jquery.suggest.js +++ b/share/www/script/jquery.suggest.js @@ -27,9 +27,13 @@ input .blur(function() { + if (timer) clearTimeout(timer); setTimeout(function() { dropdown.hide() }, 200); }) .keydown(function(e) { + if ($.inArray(e.keyCode, [16, 17, 18, 20, 144, 91, 93, 224]) != -1) { + return; // ignore modifier keys + } if (timer) clearTimeout(timer); if ($.inArray(e.keyCode, [38, 40]) != -1 || (dropdown.is(":visible") && (e.keyCode == 27 || |