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

Sometimes inline option only works for the first time #9

Open
BreakpointsCA opened this issue Jan 11, 2017 · 2 comments
Open

Sometimes inline option only works for the first time #9

BreakpointsCA opened this issue Jan 11, 2017 · 2 comments

Comments

@BreakpointsCA
Copy link

Browser: Chrome
OS: Windows 7

You can actually reproduce it easily with the provided examples:

  • Inline - auto detect width / height
  • Inline - modal window

The first time you click on the link, the fancybox works. The second time, the fancybox is empty or contains invalid data.

If you inspect the code, the original "container" disappears.

@nicothin
Copy link

+1

@Harvinator
Copy link

Harvinator commented Feb 29, 2024

I found that the cleanup trigger wasn't firing so I added a couple of lines to make it work when you exit the fancybox and when you click prev/next

jquery.fancybox-plus.js

image

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

No branches or pull requests

3 participants