summaryrefslogtreecommitdiff
path: root/common/content/commandline.js
diff options
context:
space:
mode:
authorKris Maglione <maglione.k@gmail.com>2010-12-27 12:04:03 -0500
committerKris Maglione <maglione.k@gmail.com>2010-12-27 12:04:03 -0500
commitff52485ca5a5659aca42f421b16f50b912af4499 (patch)
treef8b6f9d533183040450ec6b7069f6dbf3ddde610 /common/content/commandline.js
parente93f7455f20118f9d36a86ae27e563099f6ea0c8 (diff)
downloadpentadactyl-ff52485ca5a5659aca42f421b16f50b912af4499.tar.gz
Possibly stem aforementioned focus bug.
--HG-- branch : bootstrapped
Diffstat (limited to 'common/content/commandline.js')
-rw-r--r--common/content/commandline.js4
1 files changed, 3 insertions, 1 deletions
diff --git a/common/content/commandline.js b/common/content/commandline.js
index 6799408c..a8e58e23 100644
--- a/common/content/commandline.js
+++ b/common/content/commandline.js
@@ -623,8 +623,10 @@ var CommandLine = Module("commandline", {
this.widgets.message = null;
if (modes.main != modes.COMMAND_LINE)
this.widgets.command = null;
- if (modes.main == modes.OUTPUT_MULTILINE && this.widgets.multilineOutput.atEnd)
+ if (modes.main == modes.OUTPUT_MULTILINE && this.widgets.multilineOutput.atEnd) {
+ dactyl.focusContent();
modes.pop();
+ }
if (modes.main != modes.OUTPUT_MULTILINE)
this.multilineOutputVisible = false;
},