1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2025-12-21 04:37:58 +01:00

Fix completion list for functions that return augmented arrays.

This commit is contained in:
Kris Maglione
2010-10-11 16:45:12 -04:00
parent 7f2126179e
commit 2597be756a
2 changed files with 2 additions and 4 deletions

View File

@@ -303,9 +303,7 @@ const Editor = Module("editor", {
if (!options["editor"])
return;
let textBox = null;
if (!(config.isComposeWindow))
textBox = dactyl.focus;
let textBox = config.isComposeWindow ? null : dactyl.focus;
if (!forceEditing && textBox && textBox.type == "password") {
commandline.input("Editing a password field externally will reveal the password. Would you like to continue? (yes/[no]): ",