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