mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2026-01-08 22:34:13 +01:00
Don't pass keydown events to input elements. Closes issue #453.
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user