diff options
-rw-r--r-- | view/js/main.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/view/js/main.js b/view/js/main.js index f38d9db2d..8904f8b4c 100644 --- a/view/js/main.js +++ b/view/js/main.js @@ -1823,7 +1823,7 @@ function toast(string, severity) { let toast = document.createElement('div'); toast.innerHTML = '<div class="d-flex"><div class="toast-body">' + string + '</div><button type="button" class="btn-close me-2 m-auto" data-bs-dismiss="toast" aria-label="Close"></button></div>'; - toast.classList.add('toast', 'p-2', 'm-3', 'bg-' + severity + '-subtle', 'text-' + severity + '-emphasis', 'border-' + severity,); + toast.classList.add('toast', 'p-2', 'm-3', 'bg-' + severity + '-subtle', 'text-' + severity + '-emphasis', 'border-' + severity); container.prepend(toast); let toastInstance = bootstrap.Toast.getOrCreateInstance(toast); |