about summary refs log tree commit diff stats
path: root/frontend/static
diff options
context:
space:
mode:
Diffstat (limited to 'frontend/static')
-rw-r--r--frontend/static/search.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/frontend/static/search.js b/frontend/static/search.js
index df11d09..8baf9ed 100644
--- a/frontend/static/search.js
+++ b/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);