diff --git a/content/commands.js b/content/commands.js index 3b54e657..724b40ef 100644 --- a/content/commands.js +++ b/content/commands.js @@ -609,6 +609,7 @@ function Commands() //{{{ { args.literalArg = sub; args.push(sub); + args.quote = null; if (complete) args.completeArg = args.length - 1; break; diff --git a/content/style.js b/content/style.js index 65a87e30..63ba5ef0 100644 --- a/content/style.js +++ b/content/style.js @@ -39,7 +39,7 @@ function Highlights(name, store, serial) CompDesc color: gray; width: 50%; CompLess text-align: center; height: .5ex; line-height: .5ex; CompLess:after content: "\2303" /* Unicode up arrowhead */ - CompMore text-align: center; height: .5ex; line-height: .5ex; padding-bottom: 1ex; + CompMore text-align: center; height: .5ex; line-height: .5ex; CompMore:after content: "\2304" /* Unicode down arrowhead */ Indicator color: blue; diff --git a/content/ui.js b/content/ui.js index 4630f9af..c78cc3e5 100644 --- a/content/ui.js +++ b/content/ui.js @@ -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");