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; }); },