mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2025-12-24 02:22:26 +01:00
Fix hints in documents with SVG images, and other corner cases.
This commit is contained in:
@@ -156,8 +156,11 @@ function Hints() //{{{
|
|||||||
pageHints.push([elem, text, span, null, elem.style.backgroundColor, elem.style.color]);
|
pageHints.push([elem, text, span, null, elem.style.backgroundColor, elem.style.color]);
|
||||||
}
|
}
|
||||||
|
|
||||||
doc.body.appendChild(fragment);
|
if (doc.body)
|
||||||
docs.push({ doc: doc, start: start, end: pageHints.length - 1 });
|
{
|
||||||
|
doc.body.appendChild(fragment);
|
||||||
|
docs.push({ doc: doc, start: start, end: pageHints.length - 1 });
|
||||||
|
}
|
||||||
|
|
||||||
// also generate hints for frames
|
// also generate hints for frames
|
||||||
Array.forEach(win.frames, function (frame) { generate(frame); });
|
Array.forEach(win.frames, function (frame) { generate(frame); });
|
||||||
|
|||||||
Reference in New Issue
Block a user