diff --git a/content/ui.js b/content/ui.js
index 4f0a7ff0..36de8af0 100644
--- a/content/ui.js
+++ b/content/ui.js
@@ -1359,8 +1359,10 @@ function ItemList(id) //{{{
{
- template.map(util.range(0, maxItems), function (i)
-
)
+ template.map(util.range(0, maxItems * 2), function (i)
+
+ ~
+ )
}
, divNodes);
@@ -1429,7 +1431,7 @@ function ItemList(id) //{{{
items.insertBefore(row, next);
}
if (display)
- delete row.style.display;
+ row.style.display = "table-row";
else
row.style.display = "none";
}
@@ -1439,7 +1441,7 @@ function ItemList(id) //{{{
divNodes.noCompletions.style.display = (off > 0) ? "none" : "block";
- completionElements = buffer.evaluateXPath("//*[@liberator:highlight='CompItem' and not(contains(@style, 'none'))]", doc);
+ completionElements = buffer.evaluateXPath("//xhtml:div[@liberator:highlight='CompItem' and not(contains(@style, 'none'))]", doc);
autoSize();
return true;