mirror of
https://github.com/TryGhost/Ghost-Admin.git
synced 2023-12-14 02:33:04 +01:00
Fixed toaster notification not clearing
no issue - we switched to using native event listeners rather than jQuery but were still looking for the jQuery-specific `event.originalEvent`
This commit is contained in:
parent
25f1f7f6bb
commit
f0025da3f2
|
@ -34,7 +34,7 @@ export default Component.extend({
|
|||
this._super(...arguments);
|
||||
|
||||
this._animationEndHandler = run.bind(this, function () {
|
||||
if (event.originalEvent.animationName === 'fade-out') {
|
||||
if (event.animationName === 'fade-out') {
|
||||
this.notifications.closeNotification(this.message);
|
||||
}
|
||||
});
|
||||
|
|
Loading…
Reference in a new issue