1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2026-02-05 16:35:47 +01:00

Fix an old call to snapshotItem in highlightObj.highlightDoc.

Spans are now stored in an array.
This commit is contained in:
Doug Kearns
2009-05-16 01:51:42 +10:00
parent 4fff07b8ef
commit cb0a352454

View File

@@ -163,7 +163,7 @@ function Finder() //{{{
let elems = highlightObj.getSpans(doc);
for (let i = elems.length; --i >= 0;)
{
let elem = elems.snapshotItem(i);
let elem = elems[i];
let docfrag = doc.createDocumentFragment();
let next = elem.nextSibling;
let parent = elem.parentNode;