summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authortzury <tzury@precision.(none)>2009-07-09 18:04:06 +0300
committertzury <tzury@precision.(none)>2009-07-09 18:04:06 +0300
commit9c83eea9a19a9a520c2ffa865db51f3aa3c3904c (patch)
treece64411e36803607a682a3329cc0d93b765d233f
parent502545e59556c296b1119f73eaad4aa0f9e149c6 (diff)
downloadjquery.hotkeys-9c83eea9a19a9a520c2ffa865db51f3aa3c3904c.zip
jquery.hotkeys-9c83eea9a19a9a520c2ffa865db51f3aa3c3904c.tar.gz
jquery.hotkeys-9c83eea9a19a9a520c2ffa865db51f3aa3c3904c.tar.bz2
added shortcut:combi when storing data so to make it available at the callback
-rw-r--r--jquery.hotkeys.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/jquery.hotkeys.js b/jquery.hotkeys.js
index 050c286..9456690 100644
--- a/jquery.hotkeys.js
+++ b/jquery.hotkeys.js
@@ -57,7 +57,7 @@ Note:
// i.e. {'keyup': {'ctrl': {cb: callback, disableInInput: false}}}
var result = {};
result[type] = {};
- result[type][combi] = {cb: callback, disableInInput: false};
+ result[type][combi] = {cb: callback, disableInInput: false, shortcut:combi};
return result;
}
};