mirror of
https://github.com/jquery/jquery-ui.git
synced 2025-01-07 20:34:24 +00:00
Added $.ui.keyCode.ALT to complete list of metakeys, used in autocomplete
This commit is contained in:
parent
56a3d4cbff
commit
40e3637117
2
ui/jquery.ui.autocomplete.js
vendored
2
ui/jquery.ui.autocomplete.js
vendored
@ -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:
|
||||
|
1
ui/jquery.ui.core.js
vendored
1
ui/jquery.ui.core.js
vendored
@ -70,6 +70,7 @@ $.ui = {
|
||||
},
|
||||
|
||||
keyCode: {
|
||||
ALT: 18,
|
||||
BACKSPACE: 8,
|
||||
CAPS_LOCK: 20,
|
||||
COMMA: 188,
|
||||
|
Loading…
Reference in New Issue
Block a user