diff options
author | Kris Maglione <maglione.k@gmail.com> | 2011-10-04 07:02:51 -0400 |
---|---|---|
committer | Kris Maglione <maglione.k@gmail.com> | 2011-10-04 07:02:51 -0400 |
commit | a96716c2d8021564dbe8b2c54b35bd25466f0c0f (patch) | |
tree | 5f033a707eb2aabd92292f6c15c13f11cf0fb2cf /common/content | |
parent | c36c9d618573695adfce3e87ce17a021ccfd8bb1 (diff) | |
download | pentadactyl-a96716c2d8021564dbe8b2c54b35bd25466f0c0f.tar.gz |
Fix caret mode bug.
Diffstat (limited to 'common/content')
-rw-r--r-- | common/content/editor.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/common/content/editor.js b/common/content/editor.js index 8735344f..7e83fd65 100644 --- a/common/content/editor.js +++ b/common/content/editor.js @@ -22,7 +22,7 @@ var Editor = Module("editor", { return elem.inputField || elem; let win = document.commandDispatcher.focusedWindow; - return DOM(win).isEditable && win; + return DOM(win).isEditable && win || null; }); }, |