style(ui): increase toast notification delay from 3 to 5 seconds

This commit is contained in:
2026-01-26 18:39:07 +03:00
parent 5700314b10
commit d947f4eee7

View File

@@ -31,9 +31,9 @@ function showToast(type, message) {
// Добавляем цвет фона // Добавляем цвет фона
toastElement.classList.add(bgClass, 'text-white'); toastElement.classList.add(bgClass, 'text-white');
// Создаём и показываем toast (автоматически скроется через 3 секунды) // Создаём и показываем toast (автоматически скроется через 5 секунд - стандарт Bootstrap)
const toast = new bootstrap.Toast(toastElement, { const toast = new bootstrap.Toast(toastElement, {
delay: 3000, delay: 5000,
autohide: true autohide: true
}); });
toast.show(); toast.show();