fix: duplicated results tables via JS search
Alan Pearce alan@alanpearce.eu
Fri, 21 Jun 2024 17:02:46 +0200
1 files changed, 1 insertions(+), 1 deletions(-)
jump to
M frontend/static/search.js → frontend/static/search.js
@@ -7,7 +7,7 @@ let pagination = document.getElementById("pagination"); const resultsRange = new Range(); resultsRange.setStart(results, 0); -resultsRange.setEnd(results, 0); +resultsRange.setEnd(results, results.childNodes.length); const detailsRange = new Range(); detailsRange.setStartAfter(dialog.firstElementChild);