From 4faab88df19d0db5ef5a26dcab642fd89fa1f0a7 Mon Sep 17 00:00:00 2001 From: Doug Kearns Date: Tue, 6 Nov 2007 11:42:19 +0000 Subject: [PATCH] use the innerHeight property of window rather than mPanelContainer's box object for calculating v.buffer.pageHeight --- content/buffers.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/content/buffers.js b/content/buffers.js index dfdbd11d..9d2f111d 100644 --- a/content/buffers.js +++ b/content/buffers.js @@ -138,7 +138,7 @@ vimperator.Buffer = function() //{{{ this.__defineGetter__("pageHeight", function() { - return getBrowser().mPanelContainer.boxObject.height; // FIXME: best way to do this? + return window.content.innerHeight; }); this.__defineGetter__("textZoom", function()