0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-01-06 22:40:14 -05:00

Merge pull request #3256 from PaulAdamDavis/fix-notification-flicker

Check the end of notification fade-out animation
This commit is contained in:
Hannah Wolfe 2014-07-13 21:14:31 +01:00
commit 6b59639331

View file

@ -31,7 +31,9 @@ var NotificationComponent = Ember.Component.extend({
self.$().on('animationend webkitAnimationEnd oanimationend MSAnimationEnd', function (event) {
/* jshint unused: false */
if (event.originalEvent.animationName === 'fade-out') {
self.notifications.removeObject(self.get('message'));
}
});
},