Skip to content

Commit

Permalink
convert to the style already in facebox
Browse files Browse the repository at this point in the history
  • Loading branch information
defunkt committed Jun 13, 2008
1 parent 7dd94ee commit cd13d9a
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions facebox.js
Expand Up @@ -310,12 +310,8 @@
$(document).bind('close.facebox', function() {
$(document).unbind('keydown.facebox')
$('#facebox').fadeOut(function() {
if(typeof($('#facebox_moved')) == 'undefined') {
$('#facebox .content').removeClass().addClass('content')
}
else {
$('#facebox_moved').replaceWith($('#facebox .content').children().hide())
}
if ($('#facebox_moved').length == 0) $('#facebox .content').removeClass().addClass('content')
else $('#facebox_moved').replaceWith($('#facebox .content').children().hide())
hideOverlay()
$('#facebox .loading').remove()
})
Expand Down

0 comments on commit cd13d9a

Please sign in to comment.