diff options
author | Kris Maglione <maglione.k@gmail.com> | 2010-10-11 16:45:12 -0400 |
---|---|---|
committer | Kris Maglione <maglione.k@gmail.com> | 2010-10-11 16:45:12 -0400 |
commit | 2597be756aff509d67d8c5df7489f03874f01f70 (patch) | |
tree | 659cb6a40219b60a787f5c20450f9a44f6f62d84 /common/content/editor.js | |
parent | 7f2126179e62e06469fdf0f1b2dbb89705e195a1 (diff) | |
download | pentadactyl-2597be756aff509d67d8c5df7489f03874f01f70.tar.gz |
Fix completion list for functions that return augmented arrays.
Diffstat (limited to 'common/content/editor.js')
-rw-r--r-- | common/content/editor.js | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/common/content/editor.js b/common/content/editor.js index b737a93a..a10e22bb 100644 --- a/common/content/editor.js +++ b/common/content/editor.js @@ -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]): ", |