1
0
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:
Kris Maglione
2011-09-17 00:08:02 -04:00
parent 423767238b
commit 057600d780
7 changed files with 66 additions and 20 deletions

View File

@@ -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));