mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2025-12-22 05:07:59 +01:00
replace references to deprecated window._content with window.content
This commit is contained in:
@@ -185,7 +185,7 @@ function highlightFind(str, color, wrapped, dir, pt)
|
||||
function clearHighlight()
|
||||
{
|
||||
gFindBar.highlightDoc();
|
||||
var win = window._content;
|
||||
var win = window.content;
|
||||
var doc = win.document;
|
||||
if (!document)
|
||||
return;
|
||||
|
||||
@@ -288,7 +288,7 @@ function Hints() //{{{
|
||||
function getHintById(id, win)
|
||||
{
|
||||
if (!win)
|
||||
win = window._content;
|
||||
win = window.content;
|
||||
|
||||
var doc = win.document;
|
||||
var elem, i;
|
||||
@@ -476,7 +476,7 @@ function Hints() //{{{
|
||||
x = Number(coords[0]);
|
||||
y = Number(coords[1]);
|
||||
}
|
||||
doc = window._content.document;
|
||||
doc = window.content.document;
|
||||
view = window.document.defaultView;
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user