1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2026-02-23 03:25:52 +01:00

Minor cleanup and dead code removal.

This commit is contained in:
Kris Maglione
2011-10-06 23:03:05 -04:00
parent ddf4d02244
commit 95dd94f5e4
3 changed files with 20 additions and 21 deletions

View File

@@ -879,16 +879,7 @@ var Events = Module("events", {
}
if (hasHTMLDocument(win))
buffer.lastInputField = elem;
return;
}
if (elem && Events.isInputElement(elem)) {
if (!haveInput)
modes.push(modes.INSERT);
if (hasHTMLDocument(win))
buffer.lastInputField = elem;
buffer.lastInputField = elem || win;
return;
}