summaryrefslogtreecommitdiff
path: root/common/content/commandline.js
diff options
context:
space:
mode:
Diffstat (limited to 'common/content/commandline.js')
-rw-r--r--common/content/commandline.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/common/content/commandline.js b/common/content/commandline.js
index 78db2968..f0e057c9 100644
--- a/common/content/commandline.js
+++ b/common/content/commandline.js
@@ -4,6 +4,7 @@
//
// This work is licensed for reuse under an MIT license. Details are
// given in the LICENSE.txt file included with this file.
+"use strict";
/** @scope modules */
@@ -971,7 +972,7 @@ const CommandLine = Module("commandline", {
let doc = this._multilineOutputWidget.contentDocument;
- availableHeight = config.outputHeight;
+ let availableHeight = config.outputHeight;
if (!this._outputContainer.collapsed)
availableHeight += parseFloat(this._outputContainer.height);
doc.body.style.minWidth = this._commandlineWidget.scrollWidth + "px";