Skip to content

Instantly share code, notes, and snippets.

@eivko
Created December 12, 2018 07:18
Show Gist options
  • Save eivko/4c49799745a63a3cc405688305fe6d78 to your computer and use it in GitHub Desktop.
Save eivko/4c49799745a63a3cc405688305fe6d78 to your computer and use it in GitHub Desktop.
$(document).on('af_complete', function(event,res) {
if(res.success) $('.fancybox-close-small').click();
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment