From 9c83eea9a19a9a520c2ffa865db51f3aa3c3904c Mon Sep 17 00:00:00 2001 From: tzury Date: Thu, 9 Jul 2009 18:04:06 +0300 Subject: [PATCH] added shortcut:combi when storing data so to make it available at the callback --- jquery.hotkeys.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; } };