1
0
mirror of https://github.com/devcode-it/openstamanager.git synced 2024-12-27 16:23:19 +01:00

Spostati gli avvisi Toast in posizione top-center

This commit is contained in:
Pek5892 2023-11-28 16:06:26 +01:00
parent 7522a67263
commit 6f7563345e
2 changed files with 1 additions and 6 deletions

View File

@ -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",

View File

@ -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 : [];