From 9ca8bb2cc77d37771a59eb921675505859f8f292 Mon Sep 17 00:00:00 2001 From: Doug Kearns Date: Fri, 9 Nov 2007 11:48:41 +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 7ebebb31..945f01cc 100644 --- a/content/buffers.js +++ b/content/buffers.js @@ -125,7 +125,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()