mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2026-02-24 08:25:46 +01:00
Deal with fallout from 609832.
This commit is contained in:
@@ -899,15 +899,15 @@ var Events = Module("events", {
|
||||
return killEvent();
|
||||
}
|
||||
|
||||
function shouldPass()
|
||||
(!dactyl.focusedElement || events.isContentNode(dactyl.focusedElement)) &&
|
||||
options.get("passkeys").has(events.toString(event));
|
||||
|
||||
try {
|
||||
let mode = modes.getStack(0);
|
||||
if (event.dactylMode)
|
||||
mode = Modes.StackElement(event.dactylMode);
|
||||
|
||||
function shouldPass()
|
||||
(!dactyl.focusedElement || events.isContentNode(dactyl.focusedElement)) &&
|
||||
options.get("passkeys").has(events.toString(event));
|
||||
|
||||
let input = this._input;
|
||||
this._input = null;
|
||||
if (!input) {
|
||||
|
||||
Reference in New Issue
Block a user