0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-02-10 23:36:14 -05:00

Fixes modal fading inconsistency problem by disabling jQuery's

transition and allowing CSS to do its thing

closes #2400
- Removed fadeIn, jQuery's animation
- Added show(), which only manages display, giving transitions to CSS
This commit is contained in:
nicksahler 2014-03-19 08:07:49 -04:00
parent 91ad372c36
commit fbbac37762

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) {