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:
@@ -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;
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user