diff --git a/public/script/app.js b/public/script/app.js index d3b56af..60d71ab 100644 --- a/public/script/app.js +++ b/public/script/app.js @@ -383,7 +383,7 @@ angular $scope.removeToast = function (toast) { const index = $scope.toasts.indexOf(toast); - $scope.toasts = $scope.toasts.splice(index, index); + $scope.toasts.splice(index, 1); }; $scope.path = $location.url();