diff --git a/webroot/js/view/list.js b/webroot/js/view/list.js index 9b44ed4..8c38b51 100644 --- a/webroot/js/view/list.js +++ b/webroot/js/view/list.js @@ -430,10 +430,11 @@ export class ListView extends View { nodes = nodes.reverse(); } + var fragment = document.createDocumentFragment(); for (let i = 0; i < nodes.length; i += 1) { const row = this.renderRow(nodes[i]); - - this.tbody.appendChild(row); + fragment.appendChild(row); } + this.tbody.appendChild(fragment); } }