Merge pull request #2405 from nicksahler/master

Fixed modal inconsistent fade problem
This commit is contained in:
Hannah Wolfe 2014-03-19 16:15:14 +00:00
commit ec3aabb384

View File

@ -316,7 +316,7 @@
}, },
afterRender: function () { afterRender: function () {
this.$el.fadeIn(50); this.$el.fadeIn(50);
$(".modal-background").fadeIn(10, function () { $(".modal-background").show(10, function () {
$(this).addClass("in"); $(this).addClass("in");
}); });
if (this.model.options.confirm) { if (this.model.options.confirm) {