1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2025-12-23 08:38:00 +01:00

Dont quote literal option args. Fix more/less completion arrows.

This commit is contained in:
Kris Maglione
2008-11-26 22:47:53 +00:00
parent 7fad219028
commit 424909162d
3 changed files with 5 additions and 4 deletions

View File

@@ -1382,11 +1382,11 @@ function ItemList(id) //{{{
d.appendChild(row);
dom.replaceChild(d, nodes.items);
nodes.items = d;
nodes.up.style.display = (start == 0) && "none";
nodes.down.style.display = (end == context.items.length) && "none";
nodes.up.style.display = (start == 0) ? "none" : "block";
nodes.down.style.display = (end == context.items.length) ? "none" : "block";
});
divNodes.noCompletions.style.display = (off > 0) && "none";
divNodes.noCompletions.style.display = (off > 0) ? "none" : "block";
completionElements = div.getElementsByClassName("hl-CompItem");