diff options
Diffstat (limited to 'frontend/static/search.js')
-rw-r--r-- | frontend/static/search.js | 2 |
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); |