test
This commit is contained in:
2
scripts/new.js
Normal file → Executable file
2
scripts/new.js
Normal file → Executable file
@@ -66,7 +66,7 @@ document.getElementById("confirm-add").addEventListener("click", () => {
|
||||
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 = "/";
|
||||
window.location.href = "index.html";
|
||||
}, 3000);
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user