-
Notifications
You must be signed in to change notification settings - Fork 3.5k
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
Dynamic popups - ajax loading #217
Comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
How can I fix this issue:
http://model-pool.de/model/100497/Alina_N
You can click on each picture to open the magnific popup. If you switch to radiobutton "Snapshots", you can also open the popup. But if you then go back to "All Images", magnific popup fails. There must be anything wrong with elements that were already binded once. But I dont know how I could destroy them ..
any help ?
My initialize:
$('.popup').magnificPopup({
type: 'image',
closeOnContentClick: true,
mainClass: 'mfp-img-mobile',
image: {
verticalFit: true
}
});
after switching the category, i call this:
$('.popup').magnificPopup(popup_settings);
.popup is the class which each image has
The text was updated successfully, but these errors were encountered: