mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2026-03-03 00:35:47 +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)
|
if (elem == null && urlbar && urlbar.inputField == lastFocus)
|
||||||
liberator.threadYield(true);
|
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();
|
modes.reset();
|
||||||
}
|
}
|
||||||
finally
|
finally
|
||||||
|
|||||||
Reference in New Issue
Block a user