diff --git a/static/js/formHandler.js b/static/js/formHandler.js index 47fdbeb..42e006a 100644 --- a/static/js/formHandler.js +++ b/static/js/formHandler.js @@ -71,7 +71,12 @@ function deleteEntryNxt(id, route, name) { data: { id: id }, success: function (data) { $('#staticBackdrop').modal('hide'); - createNewToast(` ${name} deleted successfully.`, "text-bg-success") + if(isNewDataLoaderAvailable()) { + createNewToast(` ${name} deleted successfully.`, "text-bg-success", undefined, false) + } else { + createNewToast(` ${name} deleted successfully.`, "text-bg-success") + } + confetti({ spread: 360,