about summary refs log tree commit diff stats
path: root/frontend/static/search.js
diff options
context:
space:
mode:
Diffstat (limited to 'frontend/static/search.js')
-rw-r--r--frontend/static/search.js4
1 files changed, 3 insertions, 1 deletions
diff --git a/frontend/static/search.js b/frontend/static/search.js
index 358de13..030a318 100644
--- a/frontend/static/search.js
+++ b/frontend/static/search.js
@@ -49,7 +49,9 @@ function paginationLinkClicked(ev) {
 }
 
 function addPaginationEventListeners(pagination) {
-  pagination.addEventListener("click", paginationLinkClicked);
+  Array.from(pagination.children).forEach((child) =>
+    child.addEventListener("click", paginationLinkClicked),
+  );
 }
 
 function renderFragmentHTML(html) {