Skip to content

Commit

Permalink
added shortcut:combi when storing data so to make it available at the…
Browse files Browse the repository at this point in the history
… callback
  • Loading branch information
tzury committed Jul 9, 2009
1 parent 502545e commit 9c83eea
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion jquery.hotkeys.js
Expand Up @@ -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;
}
};
Expand Down

0 comments on commit 9c83eea

Please sign in to comment.