Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix #3472 (links to images broken); limit baguetteBox to <a> with <img> #3474

Merged
merged 1 commit into from
Nov 13, 2020

Conversation

Kwpolska
Copy link
Member

Fix clicking on links to image files. baguetteBox now requires a link (<a>) to have an <img> as a child (not necessarily direct) in order to make the link activate the lightbox.

This is #3472, cc @rzbrk.

Fix clicking on links to image files. baguetteBox now requires a
link (``<a>``) to have an ``<img>`` as a child in order to make the
link activate the lightbox.
@Kwpolska Kwpolska force-pushed the fix-3472-baguettebox-a-img branch from 1c3b388 to 865ecbc Compare November 11, 2020 01:54
@Kwpolska Kwpolska merged commit 9094bcf into master Nov 13, 2020
@Kwpolska Kwpolska deleted the fix-3472-baguettebox-a-img branch November 13, 2020 21:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant