diff --git a/src/ext/lib/ActionHandler.js b/src/ext/lib/ActionHandler.js index 4685219..b63f219 100644 --- a/src/ext/lib/ActionHandler.js +++ b/src/ext/lib/ActionHandler.js @@ -136,9 +136,9 @@ class ActionHandler { preventAction(event) { var activeElement = document.activeElement; - if(this.logger.canLog('keyboard')) { + if (this.logger.canLog('keyboard')) { this.logger.pause(); // temp disable to avoid recursing; - const preventAction = this.preventAction(); + const preventAction = this.preventAction(event); this.logger.resume(); // undisable this.logger.log('info', 'keyboard', "[ActionHandler::preventAction] Testing whether we're in a textbox or something. Detailed rundown of conditions:\n" +