mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2026-03-09 22:15:46 +01:00
Unbreak hlsearch
This commit is contained in:
@@ -176,11 +176,10 @@ liberator.Search = function () //{{{
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
var baseNode = doc.createElementNS("http://www.w3.org/1999/xhtml", "span");
|
var baseNode = <span style={liberator.options["hlsearchstyle"] +
|
||||||
<span style={liberator.options["hlsearchstyle"] +
|
|
||||||
"; display: inline; font-size: inherit; padding: 0"}
|
"; display: inline; font-size: inherit; padding: 0"}
|
||||||
class="__liberator-search"/>
|
class="__liberator-search"/>
|
||||||
baseNode = liberator.util.xmlToDom(baseNode);
|
baseNode = liberator.util.xmlToDom(baseNode, window.content.document);
|
||||||
|
|
||||||
var body = doc.body;
|
var body = doc.body;
|
||||||
var count = body.childNodes.length;
|
var count = body.childNodes.length;
|
||||||
|
|||||||
Reference in New Issue
Block a user