From 83f6751139ed2dbf2f7c2f235e03d91d632e38bb Mon Sep 17 00:00:00 2001 From: Alan Pearce Date: Wed, 8 May 2024 13:16:09 +0200 Subject: fix(js): null value error for pagination --- frontend/static/search.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'frontend') 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); } -- cgit 1.4.1