mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2026-10-17 06:12:29 +02:00
Don't pass keydown events to input elements. Closes issue #453.
This commit is contained in:
1 parent
300cba70cf
commit
725d884bc4
1 file changed
+1
-1
@@ -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