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