Skip to content

Fix: Clicking the opened lightbox image tries to invoke the lightbox again#1

Open
tomthetree wants to merge 1 commit into
jzeltman:masterfrom
tomthetree:master
Open

Fix: Clicking the opened lightbox image tries to invoke the lightbox again#1
tomthetree wants to merge 1 commit into
jzeltman:masterfrom
tomthetree:master

Conversation

@tomthetree
Copy link
Copy Markdown

Inserted a conditional statement on the click event, testing if the flex-lightbox div is already the parent - if so, do nothing.

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.

1 participant