mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2026-10-17 01:02:31 +02:00
Fix caret mode bug.
This commit is contained in:
1 parent
c36c9d6185
commit
a96716c2d8
1 file changed
+1
-1
@@ -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;
|
||||
});
|
||||
},
|
||||
|
||||
|
||||
Reference in new issue
Block a user