diff options
author | Doug Kearns <dougkearns@gmail.com> | 2009-09-06 20:48:57 +1000 |
---|---|---|
committer | Doug Kearns <dougkearns@gmail.com> | 2009-09-06 20:52:32 +1000 |
commit | 1eacb77f53c035fc580804f6bb5a803158ec13b6 (patch) | |
tree | f536b6ad6ab28a82f7baf6787578930e28dd4d47 | |
parent | 6a26702769f9965168fb36882a073e05074f580c (diff) | |
download | pentadactyl-1eacb77f53c035fc580804f6bb5a803158ec13b6.tar.gz |
Reset the mode when an embedded object loses focus.
-rw-r--r-- | common/content/events.js | 2 |
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 |