This commit is contained in:
2026-05-10 21:58:52 +02:00
parent 3ee0972888
commit cefca66094
2 changed files with 9 additions and 0 deletions

View File

@@ -65,6 +65,9 @@ document.getElementById("confirm-add").addEventListener("click", () => {
console.error("Error:", error);
document.getElementById("contact-form").innerHTML = `<p class="page-paragraph-error">Prišlo je do napake pri dodajanju vnosa. Prosimo, poskusite znova pozneje.</p>`;
});
setTimeout(() => {
window.location.href = "/";
}, 3000);
});
document.getElementById("cancel-add").addEventListener("click", () => {