Skip to content

Commit

Permalink
Merge branch 'release-10.1' into dev
Browse files Browse the repository at this point in the history
  • Loading branch information
EreMaijala committed Jan 31, 2025
2 parents 5e312c0 + d9d268d commit 8319c5b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions themes/bootstrap5/js/lightbox.js
Original file line number Diff line number Diff line change
Expand Up @@ -369,8 +369,8 @@ VuFind.register('lightbox', function Lightbox() {
// remove nodes on whose click, the modal closes
var nodesWhichAreNotCloseTargets = focusableNodes.filter(function nodeFilter(node) {
return !node.hasAttribute("data-lightbox-close") && (
!node.hasAttribute("data-dismiss") ||
node.getAttribute("data-dismiss") !== "modal"
!node.hasAttribute("data-bs-dismiss") ||
node.getAttribute("data-bs-dismiss") !== "modal"
);
});

Expand Down

0 comments on commit 8319c5b

Please sign in to comment.