diff options
author | Kris Maglione <maglione.k@gmail.com> | 2011-08-15 13:57:13 -0400 |
---|---|---|
committer | Kris Maglione <maglione.k@gmail.com> | 2011-08-15 13:57:13 -0400 |
commit | 01fd946df1a7bd89528ec4c7cdfff9fde38d00ab (patch) | |
tree | 4e5857ec8d1acbccb306f1989229d250703ba609 /common/content/mow.js | |
parent | 9d87ed9454e5bd9950b70dd6171c7f8b2bcf955e (diff) | |
download | pentadactyl-01fd946df1a7bd89528ec4c7cdfff9fde38d00ab.tar.gz |
Add canceled property to DOM instances. Remove stray util.haveGecko call.
Diffstat (limited to 'common/content/mow.js')
-rw-r--r-- | common/content/mow.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/common/content/mow.js b/common/content/mow.js index b02c00c9..391feeaf 100644 --- a/common/content/mow.js +++ b/common/content/mow.js @@ -294,7 +294,7 @@ var MOW = Module("mow", { if (!value && elem && elem.contentWindow == document.commandDispatcher.focusedWindow) { let focused = content.document.activeElement; - if (Events.isInputElement(focused)) + if (focused && Events.isInputElement(focused)) focused.blur(); document.commandDispatcher.focusedWindow = content; |