From 1eacb77f53c035fc580804f6bb5a803158ec13b6 Mon Sep 17 00:00:00 2001 From: Doug Kearns Date: Sun, 6 Sep 2009 20:48:57 +1000 Subject: [PATCH] Reset the mode when an embedded object loses focus. --- common/content/events.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/content/events.js b/common/content/events.js index b01cfa92..5d76c2dd 100644 --- a/common/content/events.js +++ b/common/content/events.js @@ -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