summaryrefslogtreecommitdiff
path: root/common/content/events.js
diff options
context:
space:
mode:
authorDoug Kearns <dougkearns@gmail.com>2009-09-06 20:48:57 +1000
committerDoug Kearns <dougkearns@gmail.com>2009-09-06 20:52:32 +1000
commit1eacb77f53c035fc580804f6bb5a803158ec13b6 (patch)
treef536b6ad6ab28a82f7baf6787578930e28dd4d47 /common/content/events.js
parent6a26702769f9965168fb36882a073e05074f580c (diff)
downloadpentadactyl-1eacb77f53c035fc580804f6bb5a803158ec13b6.tar.gz
Reset the mode when an embedded object loses focus.
Diffstat (limited to 'common/content/events.js')
-rw-r--r--common/content/events.js2
1 files changed, 1 insertions, 1 deletions
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