1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2025-12-26 04:52:28 +01:00

Quick hack to add tildes to the empty lines of the completion output.

This commit is contained in:
Kris Maglione
2008-10-09 16:58:48 +00:00
parent 1dcf443003
commit bb4c19d4ac

View File

@@ -1330,6 +1330,13 @@ liberator.ItemList = function (id) //{{{
let elem = completions[i];
tbody.* += createRow(elem[0], elem[1], elem[2]);
}
div.* +=
<table>
{
liberator.template.map(liberator.util.range(0, maxItems), function (i)
<tr><td style="color: blue">~</td></tr>)
}
</table>;
let dom = liberator.util.xmlToDom(div, doc);
completionBody = dom.getElementsByTagName("tbody")[0];