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:
commit
6b59639331
1 changed files with 3 additions and 1 deletions
|
@ -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'));
|
||||
}
|
||||
});
|
||||
},
|
||||
|
||||
|
|
Loading…
Reference in a new issue