Skip to content
Permalink
Browse files

Added $.ui.keyCode.ALT to complete list of metakeys, used in autocomp…

…lete
  • Loading branch information
jzaefferer committed Mar 26, 2010
1 parent 56a3d4c commit 40e36371173ba2304623fac3ab81ee2d63187649
Showing with 2 additions and 1 deletion.
  1. +1 −1 ui/jquery.ui.autocomplete.js
  2. +1 −0 ui/jquery.ui.core.js
@@ -70,7 +70,7 @@ $.widget( "ui.autocomplete", {
case keyCode.RIGHT:
case keyCode.SHIFT:
case keyCode.CONTROL:
case 18:
case keyCode.ALT:
// ignore metakeys (shift, ctrl, alt)
break;
default:
@@ -70,6 +70,7 @@ $.ui = {
},

keyCode: {
ALT: 18,
BACKSPACE: 8,
CAPS_LOCK: 20,
COMMA: 188,

0 comments on commit 40e3637

Please sign in to comment.
You can’t perform that action at this time.