1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2025-12-22 23:18:01 +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-09 11:48:41 +00:00
parent 9dc9b7e49c
commit 9ca8bb2cc7

View File

@@ -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()