inicio
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
(function () {
|
||||
"use strict";
|
||||
const form = document.getElementById("contact-form");
|
||||
const confirmBox = document.getElementById("contact-confirmation");
|
||||
form?.addEventListener("submit", (e) => {
|
||||
e.preventDefault();
|
||||
form.hidden = true;
|
||||
confirmBox?.classList.add("show");
|
||||
confirmBox?.scrollIntoView({ behavior: "smooth", block: "center" });
|
||||
});
|
||||
})();
|
||||
Reference in New Issue
Block a user