Browse files

Merge pull request #28 from mdarby/master

Don't side effect jQuery UI autocomplete fields.
  • Loading branch information...
2 parents 2eed592 + 2c5a769 commit 2d51e3a9b1876c4ddcf05b35bd8d93163e740a1b @tzuryby committed May 21, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 jquery.hotkeys.js
View
2 jquery.hotkeys.js
@@ -43,7 +43,7 @@
keys = jQuery.map(keys, function(key) { return key.split("."); });
//no need to modify handler if no keys specified
- if (keys.length === 1 && keys[0] === "") {
+ if (keys.length === 1 && (keys[0] === "" || keys[0] === "autocomplete")) {
return;
}

0 comments on commit 2d51e3a

Please sign in to comment.