From 5b8fa19a3abb2ded86404f0eaccfc6d3d0e31c17 Mon Sep 17 00:00:00 2001 From: Kris Maglione Date: Tue, 11 Oct 2011 14:32:28 -0400 Subject: [PATCH] Fix completion scrolling issue. --- common/content/commandline.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/common/content/commandline.js b/common/content/commandline.js index 482b8044..620ab9c6 100644 --- a/common/content/commandline.js +++ b/common/content/commandline.js @@ -2075,6 +2075,9 @@ var ItemList = Class("ItemList", { .map(function (g) g.rescrollFunc) .forEach(call); + if (!this.selected) + this.win.scrollTo(0, 0); + this._resize.tell(ItemList.RESIZE_BRIEF); },