diff --git a/js/app.js b/js/app.js index 9adbeec..ffccf16 100644 --- a/js/app.js +++ b/js/app.js @@ -358,7 +358,12 @@ const TimeTrack = { color: 'blue', buttons: [ ['', function (instance, toast) { - component.restoreTrashed(); + instance.hide({ + transitionOut: 'fadeOutUp', + onClosing: function(instance, toast, closedBy){ + component.restoreTrashed(); + } + }, toast, 'buttonName'); }, true] ], timeout: 12000