diff --git a/content/ui.js b/content/ui.js index f0662c97..7b4e5e62 100644 --- a/content/ui.js +++ b/content/ui.js @@ -1381,14 +1381,14 @@ function ItemList(id) //{{{ if (diff == 1) /* Scroll down */ { let item = items[endIndex - 1]; - let row = "xml" in item ? util.xmlToDom(item.html, doc) : createDefaultRow(item, true); + let row = "xml" in item ? util.xmlToDom(item.xml, doc) : createDefaultRow(item, true); tbody.removeChild(tbody.firstChild); tbody.appendChild(row); } else /* Scroll up */ { let item = items[offset]; - let row = "xml" in item ? util.xmlToDom(item.html, doc) : createDefaultRow(item, true); + let row = "xml" in item ? util.xmlToDom(item.xml, doc) : createDefaultRow(item, true); tbody.removeChild(tbody.lastChild); tbody.insertBefore(row, tbody.firstChild); } @@ -1402,7 +1402,7 @@ function ItemList(id) //{{{