Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
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 40e3637
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion ui/jquery.ui.autocomplete.js
Expand Up @@ -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:
Expand Down
1 change: 1 addition & 0 deletions ui/jquery.ui.core.js
Expand Up @@ -70,6 +70,7 @@ $.ui = {
},

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

0 comments on commit 40e3637

Please sign in to comment.