diff --git a/content/ui.js b/content/ui.js index 047d21cf..24e38077 100644 --- a/content/ui.js +++ b/content/ui.js @@ -1422,7 +1422,7 @@ function ItemList(id) //{{{ { do var next = nodes[++i]; - while ((!next || next.parentNode != root) && i < nodes.length); + while ((!next || next.parentNode != items) && i < nodes.length); items.insertBefore(row, next); } else if (!display && row.parentNode == items)