mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2026-10-16 23:32:30 +02:00
Backout part of 30a75c5eb277.
This commit is contained in:
1 parent
49adaaf6ab
commit
631b309fad
1 file changed
+9
@@ -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