mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2025-12-23 19:22:25 +01:00
Completion cleanup. Use elem.contentDocument in followLink.
This commit is contained in:
@@ -1045,8 +1045,8 @@ function Buffer() //{{{
|
||||
// artificially "clicks" a link in order to open it
|
||||
followLink: function (elem, where)
|
||||
{
|
||||
var doc = window.content.document;
|
||||
var view = window.document.defaultView;
|
||||
var doc = elem.ownerDocument;
|
||||
var view = doc.defaultView;
|
||||
var offsetX = 1;
|
||||
var offsetY = 1;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user