From 725d884bc4cdb9bd5ce7fe4e53a6ce9c55e4600f Mon Sep 17 00:00:00 2001 From: Kris Maglione Date: Wed, 23 Mar 2011 11:34:21 -0400 Subject: Don't pass keydown events to input elements. Closes issue #453. --- common/content/events.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/content/events.js b/common/content/events.js index 36ba5b1b..a1ca17f5 100644 --- a/common/content/events.js +++ b/common/content/events.js @@ -1329,7 +1329,7 @@ var Events = Module("events", { // Prevents certain sites from transferring focus to an input box // before we get a chance to process our key bindings on the // "keypress" event. - if (!pass && !Events.isInputElement(dactyl.focusedElement)) + if (!pass) event.stopPropagation(); }, keydown: function onKeyDown(event) { -- cgit v1.2.3