callback binds function on fancybox #237

Closed
Spica2 opened this Issue May 8, 2012 · 1 comment

Comments

Projects
None yet
2 participants
@Spica2

Spica2 commented May 8, 2012

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

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

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

@fancyapps

This comment has been minimized.

Show comment
Hide comment
@fancyapps

fancyapps Feb 28, 2017

Owner

Hi, please, upgrade to v3.

Owner

fancyapps commented Feb 28, 2017

Hi, please, upgrade to v3.

@fancyapps fancyapps closed this Feb 28, 2017

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment