all repos — searchix @ 83f6751139ed2dbf2f7c2f235e03d91d632e38bb

Search engine for NixOS, nix-darwin, home-manager and NUR users

fix(js): null value error for pagination
Alan Pearce alan@alanpearce.eu
Wed, 08 May 2024 13:16:09 +0200
commit

83f6751139ed2dbf2f7c2f235e03d91d632e38bb

parent

9f1a4aaa9960fe3ab664033e1c1f42e62c3fb2e8

1 files changed, 1 insertions(+), 1 deletions(-)

jump to
M frontend/static/search.jsfrontend/static/search.js
@@ -44,7 +44,7 @@ getResults(url);   ev.preventDefault();
 }
 
-function addPaginationEventListeners() {
+function addPaginationEventListeners(pagination) {
   pagination.addEventListener("click", paginationLinkClicked);
 }