1
0
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:
Kris Maglione
2008-10-03 03:08:51 +00:00
parent b7b8b86b11
commit 36ca0c98a8
6 changed files with 160 additions and 130 deletions

View File

@@ -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;