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