Skip to content

Commit

Permalink
Bugfix: modal always fading
Browse files Browse the repository at this point in the history
  • Loading branch information
xfra35 committed Oct 23, 2015
1 parent 55cf9e1 commit b357293
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 @@ -129,7 +129,7 @@
_this.$elm.trigger($.modal.AFTER_CLOSE, [_this._ctx()]);
});
} else {
this.$elm.hide(function () {
this.$elm.hide(0, function () {
_this.$elm.trigger($.modal.AFTER_CLOSE, [_this._ctx()]);
});
}
Expand Down

0 comments on commit b357293

Please sign in to comment.