1
0
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:
Doug Kearns
2007-08-04 03:22:11 +00:00
parent 44dc7e7076
commit aa29879a3b
2 changed files with 3 additions and 3 deletions

View File

@@ -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;

View File

@@ -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;