1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2025-12-22 15:48:00 +01:00

use the innerHeight property of window rather than mPanelContainer's box object

for calculating v.buffer.pageHeight
This commit is contained in:
Doug Kearns
2007-11-06 11:42:19 +00:00
parent b204012556
commit 4faab88df1

View File

@@ -138,7 +138,7 @@ vimperator.Buffer = function() //{{{
this.__defineGetter__("pageHeight", function() this.__defineGetter__("pageHeight", function()
{ {
return getBrowser().mPanelContainer.boxObject.height; // FIXME: best way to do this? return window.content.innerHeight;
}); });
this.__defineGetter__("textZoom", function() this.__defineGetter__("textZoom", function()