1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2026-01-31 00:05:45 +01:00

RangeFind highlight cleanup stuff and stuff.

This commit is contained in:
Kris Maglione
2011-10-17 21:11:55 -04:00
parent 3ef14e8c3c
commit e75de734ed
4 changed files with 22 additions and 5 deletions

View File

@@ -901,7 +901,9 @@ var Events = Module("events", {
if (elem == null && urlbar && urlbar.inputField == this._lastFocus)
util.threadYield(true); // Why? --Kris
while (modes.main.ownsFocus && modes.topOfStack.params.ownsFocus != elem
while (modes.main.ownsFocus
&& modes.topOfStack.params.ownsFocus != elem
&& modes.topOfStack.params.ownsFocus != win
&& !modes.topOfStack.params.holdFocus)
modes.pop(null, { fromFocus: true });
}