We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 9c20b92 + b568669 commit 782ddf3Copy full SHA for 782ddf3
jquery.hotkeys.js
@@ -43,7 +43,14 @@
43
keys = jQuery.map(keys, function(key) { return key.split("."); });
44
45
//no need to modify handler if no keys specified
46
- if (keys.length === 1 && (keys[0] === "" || keys[0] === "autocomplete")) {
+ //Added keys[0].substring(0, 12) to work with jQuery ui 1.9.0
47
+ //Added accordion, tabs and menu, then jquery ui can use keys.
48
+
49
+ if (keys.length === 1 && (keys[0] === "" ||
50
+ keys[0].substring(0, 12) === "autocomplete" ||
51
+ keys[0].substring(0, 9) === "accordion" ||
52
+ keys[0].substring(0, 4) === "tabs" ||
53
+ keys[0].substring(0, 4) === "menu")) {
54
return;
55
}
56
0 commit comments