mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2025-12-30 10:02:27 +01:00
Quick hack to add tildes to the empty lines of the completion output.
This commit is contained in:
@@ -1330,6 +1330,13 @@ liberator.ItemList = function (id) //{{{
|
|||||||
let elem = completions[i];
|
let elem = completions[i];
|
||||||
tbody.* += createRow(elem[0], elem[1], elem[2]);
|
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);
|
let dom = liberator.util.xmlToDom(div, doc);
|
||||||
completionBody = dom.getElementsByTagName("tbody")[0];
|
completionBody = dom.getElementsByTagName("tbody")[0];
|
||||||
|
|||||||
Reference in New Issue
Block a user