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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user