mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2026-01-09 13:34:11 +01:00
Reset the mode when an embedded object loses focus.
This commit is contained in:
@@ -1331,7 +1331,7 @@ function Events() //{{{
|
||||
if (elem == null && urlbar && urlbar.inputField == lastFocus)
|
||||
liberator.threadYield(true);
|
||||
|
||||
if (liberator.mode & (modes.INSERT | modes.TEXTAREA | modes.VISUAL))
|
||||
if (liberator.mode & (modes.EMBED | modes.INSERT | modes.TEXTAREA | modes.VISUAL))
|
||||
modes.reset();
|
||||
}
|
||||
finally
|
||||
|
||||
Reference in New Issue
Block a user