callback binds function on fancybox #237

Spica2 opened this Issue May 8, 2012 · 1 comment


None yet
2 participants

Spica2 commented May 8, 2012

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?


This comment has been minimized.

Show comment
Hide comment

fancyapps Feb 28, 2017


Hi, please, upgrade to v3.


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