1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2026-01-08 04:44:12 +01:00

* 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
This commit is contained in:
Martin Stubenschrott
2009-01-31 11:59:38 +01:00
parent ce0e5c1879
commit 4de7cc8db8

View File

@@ -1758,7 +1758,7 @@ function ItemList(id) //{{{
</div>
</div>, 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)