Rework expiring messages management
// FREEBIE
This commit is contained in:
parent
08e8c00329
commit
e4b9c51f88
6 changed files with 66 additions and 21 deletions
|
@ -144,6 +144,9 @@
|
|||
this.remove();
|
||||
}
|
||||
}.bind(this));
|
||||
|
||||
// Failsafe: if in the background, animation events don't fire
|
||||
setTimeout(this.remove.bind(this), 1000);
|
||||
},
|
||||
onDestroy: function() {
|
||||
if (this.$el.hasClass('expired')) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue