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

Init from DOM – click handler defers to Anchor elements #1694

Closed
wants to merge 1 commit into from

Conversation

tobyspark
Copy link

The supplied javascript in How to build an array of slides from a list of links will action opening PhotoSwipe even if it was a link that was clicked (e.g. within <figcaption> text). This PR contains a small modification to that code so that PhotoSwipe defers to any anchor tag's action instead.

@dimsemenov
Copy link
Owner

Closing, as outdated pull request due to version 5.0 release.

@dimsemenov dimsemenov closed this Apr 29, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants