We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 37b78bb + 8af18ec commit e941280Copy full SHA for e941280
app/javascript/blacklight-frontend/modal.js
@@ -137,7 +137,7 @@ const Modal = (() => {
137
138
modal.modalAjaxLinkClick = function(e) {
139
e.preventDefault();
140
- const href = e.target.getAttribute('href')
+ const href = e.target.closest('a').getAttribute('href')
141
fetch(href)
142
.then(response => {
143
if (!response.ok) {
0 commit comments