From 4de7cc8db8022ff0d06d226392fd0b6706091874 Mon Sep 17 00:00:00 2001 From: Martin Stubenschrott Date: Sat, 31 Jan 2009 11:59:38 +0100 Subject: [PATCH] * Fixed strange completion height bug. One less blocker to 2.0beta1. * Doug: Might ui.js:701: elements[elements.length - 1].scrollIntoView(true); be the problem of your very slow MOW for multiple items? I just noticed that :echo liberator takes 0.25sec , but :echo liberator when the MOW already displas :echo window takes 0.47 sec --- common/content/ui.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/common/content/ui.js b/common/content/ui.js index 622fb6ac..a9705489 100644 --- a/common/content/ui.js +++ b/common/content/ui.js @@ -1758,7 +1758,7 @@ function ItemList(id) //{{{ , divNodes); doc.body.replaceChild(div, doc.body.firstChild); - div.scrollIntoView(true); + //div.scrollIntoView(true); items.contextList.forEach(function init_eachContext(context) { delete context.cache.nodes; @@ -1941,7 +1941,7 @@ function ItemList(id) //{{{ if (index >= 0) { getCompletion(index).setAttribute("selected", "true"); - getCompletion(index).scrollIntoView(false); + //getCompletion(index).scrollIntoView(false); } //if (index == 0)