Changeset 8778
- Timestamp:
- 08/30/08 00:28:13 (3 months ago)
- Files:
-
- trunk/wp-includes/js/jquery/jquery.hotkeys.js (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/wp-includes/js/jquery/jquery.hotkeys.js
r8777 r8778 70 70 ctrl = event.ctrlKey, 71 71 alt= event.altKey, 72 meta = event.metaKey, 72 73 propagate = true, // default behaivour 73 74 mapPoint = null; … … 82 83 } 83 84 var cbMap = that.all[element].events[type].callbackMap; 84 if(!shift && !ctrl && !alt ) { // No Modifiers85 if(!shift && !ctrl && !alt && !meta) { // No Modifiers 85 86 mapPoint = cbMap[special] || cbMap[character] 86 87 } … … 91 92 if(ctrl) modif+= 'ctrl+'; 92 93 if(shift) modif += 'shift+'; 94 if(meta) modif += 'meta+'; 93 95 // modifiers + special keys or modifiers + characters or modifiers + shift characters 94 96 mapPoint = cbMap[modif+special] || cbMap[modif+character] || cbMap[modif+that.shift_nums[character]]
