mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2026-01-04 22:14:11 +01:00
Backout part of 30a75c5eb277.
This commit is contained in:
@@ -883,6 +883,15 @@ var Events = Module("events", {
|
||||
return;
|
||||
}
|
||||
|
||||
if (elem && Events.isInputElement(elem)) {
|
||||
if (!haveInput)
|
||||
modes.push(modes.INSERT);
|
||||
|
||||
if (hasHTMLDocument(win))
|
||||
buffer.lastInputField = elem;
|
||||
return;
|
||||
}
|
||||
|
||||
if (config.focusChange) {
|
||||
config.focusChange(win);
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user