about summary refs log tree commit diff stats
path: root/frontend/static/search.js
diff options
context:
space:
mode:
authorAlan Pearce2024-05-08 13:16:09 +0200
committerAlan Pearce2024-05-08 13:16:09 +0200
commit83f6751139ed2dbf2f7c2f235e03d91d632e38bb (patch)
treecb300434b4325bd7e38078f125a4666593faa219 /frontend/static/search.js
parent9f1a4aaa9960fe3ab664033e1c1f42e62c3fb2e8 (diff)
downloadsearchix-83f6751139ed2dbf2f7c2f235e03d91d632e38bb.tar.lz
searchix-83f6751139ed2dbf2f7c2f235e03d91d632e38bb.tar.zst
searchix-83f6751139ed2dbf2f7c2f235e03d91d632e38bb.zip
fix(js): null value error for pagination
Diffstat (limited to 'frontend/static/search.js')
-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 2282558..97a673e 100644
--- a/frontend/static/search.js
+++ b/frontend/static/search.js
@@ -44,7 +44,7 @@ function paginationLinkClicked(ev) {
   ev.preventDefault();
 }
 
-function addPaginationEventListeners() {
+function addPaginationEventListeners(pagination) {
   pagination.addEventListener("click", paginationLinkClicked);
 }