Skip to content

Commit e941280

Browse files
authored
Merge pull request #3591 from projectblacklight/permit-markup
Permit markup on prev/next facet pagination buttons
2 parents 37b78bb + 8af18ec commit e941280

File tree

1 file changed

+1
-1
lines changed
  • app/javascript/blacklight-frontend

1 file changed

+1
-1
lines changed

app/javascript/blacklight-frontend/modal.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,7 @@ const Modal = (() => {
137137

138138
modal.modalAjaxLinkClick = function(e) {
139139
e.preventDefault();
140-
const href = e.target.getAttribute('href')
140+
const href = e.target.closest('a').getAttribute('href')
141141
fetch(href)
142142
.then(response => {
143143
if (!response.ok) {

0 commit comments

Comments
 (0)