aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorScott González <scott.gonzalez@gmail.com>2012-02-12 12:29:16 -0500
committerScott González <scott.gonzalez@gmail.com>2012-02-12 12:29:16 -0500
commit8dcb02d03598b75204227b5c187d8b6e8d33b03d (patch)
tree7183ccb02aea06a15454f10317141d28fbbeef93
parentf81348111775bf97a9f5084f0092318ded3b1f26 (diff)
downloadjquery-ui-8dcb02d03598b75204227b5c187d8b6e8d33b03d.tar.gz
jquery-ui-8dcb02d03598b75204227b5c187d8b6e8d33b03d.zip
Core: Removed modifier keys from key codes. Fixed #7613 - Incorrect UI keyCodes.
-rw-r--r--ui/jquery.ui.core.js12
1 files changed, 1 insertions, 11 deletions
diff --git a/ui/jquery.ui.core.js b/ui/jquery.ui.core.js
index 1c54c993c..5f0414ec8 100644
--- a/ui/jquery.ui.core.js
+++ b/ui/jquery.ui.core.js
@@ -21,23 +21,15 @@ $.extend( $.ui, {
version: "@VERSION",
keyCode: {
- ALT: 18,
BACKSPACE: 8,
- CAPS_LOCK: 20,
COMMA: 188,
- COMMAND: 91,
- COMMAND_LEFT: 91, // COMMAND
- COMMAND_RIGHT: 93,
- CONTROL: 17,
DELETE: 46,
DOWN: 40,
END: 35,
ENTER: 13,
ESCAPE: 27,
HOME: 36,
- INSERT: 45,
LEFT: 37,
- MENU: 93, // COMMAND_RIGHT
NUMPAD_ADD: 107,
NUMPAD_DECIMAL: 110,
NUMPAD_DIVIDE: 111,
@@ -48,11 +40,9 @@ $.extend( $.ui, {
PAGE_UP: 33,
PERIOD: 190,
RIGHT: 39,
- SHIFT: 16,
SPACE: 32,
TAB: 9,
- UP: 38,
- WINDOWS: 91 // COMMAND
+ UP: 38
}
});