From cf098ab18c87f8daf3a2fb16c55c5ffb3c100ad8 Mon Sep 17 00:00:00 2001 From: Kris Maglione Date: Fri, 24 Sep 2010 16:53:24 -0400 Subject: [PATCH] Resurrect ItemList scrollIntoView code for the time being. --- common/content/commandline.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/common/content/commandline.js b/common/content/commandline.js index 5db66929..a59f7669 100644 --- a/common/content/commandline.js +++ b/common/content/commandline.js @@ -1643,7 +1643,7 @@ const ItemList = Class("ItemList", { , this._divNodes); this._doc.body.replaceChild(this._div, this._doc.body.firstChild); - //div.scrollIntoView(true); + div.scrollIntoView(true); this._items.contextList.forEach(function init_eachContext(context) { delete context.cache.nodes; @@ -1813,7 +1813,7 @@ const ItemList = Class("ItemList", { this._fill(newOffset); if (index >= 0) { this._getCompletion(index).setAttribute("selected", "true"); - //this._getCompletion(index).scrollIntoView(false); + this._getCompletion(index).scrollIntoView(false); } //if (index == 0)