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:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user