From 8dcb02d03598b75204227b5c187d8b6e8d33b03d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Scott=20Gonz=C3=A1lez?= Date: Sun, 12 Feb 2012 12:29:16 -0500 Subject: [PATCH] Core: Removed modifier keys from key codes. Fixed #7613 - Incorrect UI keyCodes. --- ui/jquery.ui.core.js | 12 +----------- 1 file changed, 1 insertion(+), 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 } });