mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2026-01-04 21:34:17 +01:00
Make completion generally niftier (add a rate limiting timer)
This commit is contained in:
@@ -176,11 +176,10 @@ liberator.Search = function () //{{{
|
||||
}
|
||||
|
||||
var baseNode = doc.createElementNS("http://www.w3.org/1999/xhtml", "span");
|
||||
baseNode.setAttribute("style", liberator.options["hlsearchstyle"]);
|
||||
baseNode.style.display = "inline";
|
||||
baseNode.style.fontSize = "inherit";
|
||||
baseNode.style.padding = "0";
|
||||
baseNode.className = "__liberator-search";
|
||||
<span style={liberator.options["hlsearchstyle"] +
|
||||
"; display: inline; font-size: inherit; padding: 0"}
|
||||
class="__liberator-search"/>
|
||||
baseNode = liberator.util.xmlToDom(baseNode);
|
||||
|
||||
var body = doc.body;
|
||||
var count = body.childNodes.length;
|
||||
|
||||
Reference in New Issue
Block a user