Skip to content

Commit

Permalink
Merge pull request #126 from xfra35/issue126
Browse files Browse the repository at this point in the history
Bugfix: modal always fading
  • Loading branch information
kylefox committed Oct 23, 2015
2 parents 55cf9e1 + b357293 commit 9fdbbde
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 9fdbbde

Please sign in to comment.