mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2025-12-28 21:22:28 +01:00
Properly blur the command line when leaving command line mode. Closes issue #285.
This commit is contained in:
@@ -1346,7 +1346,7 @@ var Events = Module("events", {
|
||||
if (elem == null && urlbar && urlbar.inputField == this._lastFocus)
|
||||
util.threadYield(true); // Why? --Kris
|
||||
|
||||
while (modes.main.ownsFocus)
|
||||
while (modes.main.ownsFocus && !modes.topOfStack.params.holdFocus)
|
||||
modes.pop(null, { fromFocus: true });
|
||||
}
|
||||
finally {
|
||||
|
||||
Reference in New Issue
Block a user