1
0
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:
Doug Kearns
2009-09-06 20:48:57 +10:00
parent 6a26702769
commit 1eacb77f53

View File

@@ -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