Skip to content

Commit

Permalink
Hide overlay and Facebox simultaneously
Browse files Browse the repository at this point in the history
  • Loading branch information
defunkt committed Nov 19, 2010
1 parent 0b8f18b commit 4978a19
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion facebox.js
Expand Up @@ -320,10 +320,10 @@
$(document).unbind('keydown.facebox')
$('#facebox').fadeOut(function() {
$('#facebox .content').removeClass().addClass('content')
hideOverlay()
$('#facebox .loading').remove()
$(document).trigger('afterClose.facebox')
})
hideOverlay()
})

})(jQuery);

0 comments on commit 4978a19

Please sign in to comment.