1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2026-01-04 15:24:10 +01:00

use document.location.href for buffer.URL rather than document.URL since the

latter is undefined for XUL documents
This commit is contained in:
Doug Kearns
2007-09-01 15:57:05 +00:00
parent 474b3f1d85
commit c820c29163

View File

@@ -115,7 +115,9 @@ function Buffer() //{{{
this.__defineGetter__("URL", function()
{
return window.content.document.URL;
// TODO: .URL is not defined for XUL documents
//return window.content.document.URL;
return window.content.document.location.href;
});
this.__defineGetter__("pageHeight", function()