summaryrefslogtreecommitdiff
path: root/common/content/commandline.js
diff options
context:
space:
mode:
authorKris Maglione <maglione.k@gmail.com>2010-12-25 18:41:32 -0500
committerKris Maglione <maglione.k@gmail.com>2010-12-25 18:41:32 -0500
commit26bd1c10753bd6505bad806e172ae310b4641a1e (patch)
tree73ea08a31472d5d22d16f47e1d3afdfd3a1831e8 /common/content/commandline.js
parente5fd0ccf186b0a30b7791be807287f73064f6e5f (diff)
downloadpentadactyl-26bd1c10753bd6505bad806e172ae310b4641a1e.tar.gz
[bootstrap] Purge stale modules on upgrade as well as explicit rehash.
--HG-- branch : bootstrapped
Diffstat (limited to 'common/content/commandline.js')
-rw-r--r--common/content/commandline.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/common/content/commandline.js b/common/content/commandline.js
index cc7d2895..ca8479c8 100644
--- a/common/content/commandline.js
+++ b/common/content/commandline.js
@@ -1249,9 +1249,9 @@ var CommandLine = Module("commandline", {
availableHeight -= extra || 0;
doc.body.style.minWidth = this.widgets.commandbar.commandline.scrollWidth + "px";
- this.widgets.mowContainer.height = Math.min(doc.height, availableHeight) + "px";
+ this.widgets.mowContainer.height = Math.min(doc.body.clientHeight, availableHeight) + "px";
this.timeout(function ()
- this.widgets.mowContainer.height = Math.min(doc.height, availableHeight) + "px",
+ this.widgets.mowContainer.height = Math.min(doc.body.clientHeight, availableHeight) + "px",
0);
doc.body.style.minWidth = "";