1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2025-12-24 07:02:38 +01:00

Fix the MOW height calculation in Muttator.

This commit is contained in:
Doug Kearns
2009-06-12 01:03:33 +10:00
parent 9a0076b109
commit 30a54a4271
3 changed files with 27 additions and 3 deletions

View File

@@ -1681,11 +1681,10 @@ function CommandLine() //{{{
let doc = multilineOutputWidget.contentDocument;
let availableHeight = 250;
let availableHeight = 250; // Why? --djk
try
{
availableHeight = getBrowser().mPanelContainer ?
getBrowser().mPanelContainer.boxObject.height : getBrowser().boxObject.height;
availableHeight = config.outputHeight;
if (!outputContainer.collapsed)
availableHeight += parseFloat(outputContainer.height);
}