Skip to content

Commit

Permalink
[TASK] Use legacy set attribute instead of internal attribute
Browse files Browse the repository at this point in the history
  • Loading branch information
benjaminkott committed Jul 12, 2023
1 parent 5747f86 commit bcb93af
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Resources/Public/JavaScript/Dist/bootstrap.lightbox.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Resources/Public/JavaScript/Src/bootstrap.lightbox.js
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ window.addEventListener('DOMContentLoaded', function () {
}
});
gallery.on('firstUpdate', () => {
gallery.pswp.element.ariaModal = true;
gallery.pswp.element.setAttribute('aria-modal', true);
gallery.pswp.scrollWrap.ariaLabel = 'carousel';
gallery.pswp.scrollWrap.removeAttribute('aria-roledescription');
});
Expand Down

0 comments on commit bcb93af

Please sign in to comment.