Skip to content
Permalink
Browse files

Core: Removed modifier keys from key codes. Fixed #7613 - Incorrect U…

…I keyCodes.
  • Loading branch information
scottgonzalez committed Feb 12, 2012
1 parent f813481 commit 8dcb02d03598b75204227b5c187d8b6e8d33b03d
Showing with 1 addition and 11 deletions.
  1. +1 −11 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
}
});

0 comments on commit 8dcb02d

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