mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2026-01-28 12:05:53 +01:00
Fix :js context on Minefield.
This commit is contained in:
@@ -187,6 +187,9 @@ var Editor = Module("editor", {
|
||||
return;
|
||||
|
||||
let textBox = config.isComposeWindow ? null : dactyl.focusedElement;
|
||||
if (!DOM(textBox).isInput)
|
||||
textBox = null;
|
||||
|
||||
let line, column;
|
||||
let keepFocus = modes.stack.some(function (m) isinstance(m.main, modes.COMMAND_LINE));
|
||||
|
||||
|
||||
Reference in New Issue
Block a user