diff --git a/assets/src/js/base/custom.js b/assets/src/js/base/custom.js index 875b7c783..7265ebdf5 100644 --- a/assets/src/js/base/custom.js +++ b/assets/src/js/base/custom.js @@ -39,7 +39,7 @@ $(document).ready(function () { "debug": false, "newestOnTop": false, "progressBar": true, - "positionClass": "toast-top-right", + "positionClass": "toast-top-center", //"preventDuplicates": true, "onclick": null, "showDuration": "300", diff --git a/assets/src/js/functions/functions.js b/assets/src/js/functions/functions.js index 542d49211..b1d50d23b 100755 --- a/assets/src/js/functions/functions.js +++ b/assets/src/js/functions/functions.js @@ -383,11 +383,6 @@ function renderMessages() { let info = messages.info ? messages.info : []; info.forEach(function (element) { if (element) toastr["success"](element); - Toast.fire({ - icon: "success", - title: element, - position: 'top', - }); }); let warning = messages.warning ? messages.warning : [];