From 2a995fd232147999c3d0d7565be62f3574cb5643 Mon Sep 17 00:00:00 2001 From: Kris Maglione Date: Thu, 14 Oct 2010 20:04:32 -0400 Subject: [PATCH] Stop flashing when the completion list opens. --- common/content/commandline.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/common/content/commandline.js b/common/content/commandline.js index 00532bce..a776587a 100644 --- a/common/content/commandline.js +++ b/common/content/commandline.js @@ -1932,8 +1932,10 @@ const ItemList = Class("ItemList", { setItems: function setItems(newItems, selectedItem) { if (this._selItem > -1) this._getCompletion(this._selItem).removeAttribute("selected"); - if (this._container.collapsed) + if (this._container.collapsed) { this._minHeight = 0; + this._container.height = 0; + } this._startIndex = this._endIndex = this._selIndex = -1; this._items = newItems; this.reset(true);