1
0
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:
Kris Maglione
2011-10-07 06:52:52 -04:00
parent 49adaaf6ab
commit 631b309fad

View File

@@ -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;