diff --git a/common/content/modes.js b/common/content/modes.js index 783ec0ca..2df79d9c 100644 --- a/common/content/modes.js +++ b/common/content/modes.js @@ -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; },