From ae3cf7b02cf91aaa33a45bdc83d0829cd4e70446 Mon Sep 17 00:00:00 2001 From: Kris Maglione Date: Sun, 15 Nov 2009 03:39:27 -0500 Subject: [PATCH] Condense collapsed completion groups a bit. --HG-- extra : rebase_source : 1c8ecadd775ab088fa726dff90646fa1345a818d --- common/content/commandline.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/common/content/commandline.js b/common/content/commandline.js index a29832ad..72fcd547 100644 --- a/common/content/commandline.js +++ b/common/content/commandline.js @@ -1768,6 +1768,10 @@ const ItemList = Class("ItemList", { nodes.down.style.display = "block"; else nodes.up.style.display = "block"; + if (start == end) { + nodes.up.style.display = "none"; + nodes.down.style.display = "none"; + } }, this); this._divNodes.noCompletions.style.display = haveCompletions ? "none" : "block";