1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2025-12-21 00:37:58 +01:00

Fix last commit.

This commit is contained in:
Kris Maglione
2013-04-21 19:47:51 -07:00
parent 9975272c56
commit 61cf89c929

View File

@@ -119,8 +119,8 @@ var Modes = Module("modes", {
onKeyPress: function (events) { if (modes.main == modes.QUOTE) modes.pop(); }
});
this.addMode("IGNORE", { hidden: true }, {
onKeyPress: function (events) {
if (events.isCancelKey(DOM.Event.stringify(event)))
onKeyPress: function (events_) {
if (events.isCancelKey(DOM.Event.stringify(events_[0])))
return true;
return false;
},