From 1ead903ab7c17e0bfd8f664c658ac3a117588f5a Mon Sep 17 00:00:00 2001 From: Kris Maglione Date: Fri, 3 Dec 2010 23:50:47 -0500 Subject: [PATCH] Only bitch about unknown keys in TEXT EDIT mode. --- common/content/events.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/common/content/events.js b/common/content/events.js index 2d903636..db7d6762 100644 --- a/common/content/events.js +++ b/common/content/events.js @@ -969,15 +969,15 @@ const Events = Module("events", { this._input.motionCount = null; if (!isEscape(key)) { + stop = false; if (mode.main === modes.TEXT_EDIT) { dactyl.beep(); stop = true; } if (mode.main === modes.COMMAND_LINE) - if (!(modes.extended & modes.INPUT_MULTILINE)) + if (!(mode.extended & modes.INPUT_MULTILINE)) dactyl.trapErrors(commandline.onEvent, commandline, event); - // allow key to be passed to the host app if we can't handle it } }