1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2025-12-23 16:52:25 +01:00

fix text searching in frameset pages

This commit is contained in:
Doug Kearns
2008-09-17 06:08:31 +00:00
parent b7e6426892
commit 8f10c3d562

View File

@@ -149,7 +149,7 @@ liberator.Search = function () //{{{
highlightDoc: function highlightDoc(win, aWord) highlightDoc: function highlightDoc(win, aWord)
{ {
Array.forEach(win.frames, function (frame) highlightDoc(aWord, frame)); Array.forEach(win.frames, function (frame) highlightObj.highlightDoc(frame, aWord));
var doc = win.document; var doc = win.document;
if (!doc || !(doc instanceof HTMLDocument)) if (!doc || !(doc instanceof HTMLDocument))