1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2025-12-24 07:02:38 +01:00

Unbreak hlsearch

This commit is contained in:
Kris Maglione
2008-10-07 07:52:11 +00:00
parent 1ff0c3169b
commit 2a1a15e601

View File

@@ -176,11 +176,10 @@ liberator.Search = function () //{{{
return;
}
var baseNode = doc.createElementNS("http://www.w3.org/1999/xhtml", "span");
<span style={liberator.options["hlsearchstyle"] +
var baseNode = <span style={liberator.options["hlsearchstyle"] +
"; display: inline; font-size: inherit; padding: 0"}
class="__liberator-search"/>
baseNode = liberator.util.xmlToDom(baseNode);
class="__liberator-search"/>
baseNode = liberator.util.xmlToDom(baseNode, window.content.document);
var body = doc.body;
var count = body.childNodes.length;