Skip to content


callback binds function on fancybox #237

Spica2 opened this Issue · 0 comments

1 participant


I bind a function to the fancybox with a callback like so

afterShow: function(){ 
    $('.fancybox-opened').on('leftSwipe', function(){
    .on('rightSwipe', function(){

But then the wrapper container doesnt get removed anymore, only the class fancybox-opened gets removed. How to get the container removed again?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.