Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Allow for the use of multiple namespaces.

  • Loading branch information...
commit e205bba344cbd76f7c0d9c4e15a78d032e6ca272 1 parent 9fcdd6c
@sprsquish sprsquish authored
Showing with 1 addition and 0 deletions.
  1. +1 −0  jquery.hotkeys.js
View
1  jquery.hotkeys.js
@@ -40,6 +40,7 @@
//will also allow removing listeners of a specific key combination
//and support data objects
keys = (handleObj.namespace || "").toLowerCase().split(" ");
+ keys = jQuery.map(keys, function(key) { return key.split("."); });
//no need to modify handler if no keys specified
if (keys.length === 1 && keys[0] === "") {
Please sign in to comment.
Something went wrong with that request. Please try again.