mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2025-12-22 00:37:58 +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()
|
function clearHighlight()
|
||||||
{
|
{
|
||||||
gFindBar.highlightDoc();
|
gFindBar.highlightDoc();
|
||||||
var win = window._content;
|
var win = window.content;
|
||||||
var doc = win.document;
|
var doc = win.document;
|
||||||
if (!document)
|
if (!document)
|
||||||
return;
|
return;
|
||||||
|
|||||||
@@ -288,7 +288,7 @@ function Hints() //{{{
|
|||||||
function getHintById(id, win)
|
function getHintById(id, win)
|
||||||
{
|
{
|
||||||
if (!win)
|
if (!win)
|
||||||
win = window._content;
|
win = window.content;
|
||||||
|
|
||||||
var doc = win.document;
|
var doc = win.document;
|
||||||
var elem, i;
|
var elem, i;
|
||||||
@@ -476,7 +476,7 @@ function Hints() //{{{
|
|||||||
x = Number(coords[0]);
|
x = Number(coords[0]);
|
||||||
y = Number(coords[1]);
|
y = Number(coords[1]);
|
||||||
}
|
}
|
||||||
doc = window._content.document;
|
doc = window.content.document;
|
||||||
view = window.document.defaultView;
|
view = window.document.defaultView;
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user