Skip to content

Commit

Permalink
remove current class on modal close
Browse files Browse the repository at this point in the history
  • Loading branch information
elidupuis committed Oct 26, 2011
1 parent 59c58be commit 77fbf5f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion jquery.modal.js
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@
current_modal.closeButton.remove();
}
current_modal.blocker.remove();
current_modal.elm.hide();
current_modal.elm.removeClass('current').hide();
current_modal.elm.trigger($.fn.modal.CLOSE, [current_modal]);
current_modal = null;

Expand Down

0 comments on commit 77fbf5f

Please sign in to comment.