diff --git a/src/scripts/contact-form.js b/src/scripts/contact-form.js index 29490ef..4d25a22 100644 --- a/src/scripts/contact-form.js +++ b/src/scripts/contact-form.js @@ -65,8 +65,6 @@ form.addEventListener("submit", function(event) { const contactMethod = document.querySelector('input[name="contact-method"]:checked')?.value; const message = document.getElementById("message").value.trim(); // Get the hCaptcha token from the global hcaptcha object - const hCaptchaResponse = hcaptcha.getResponse(); - let hasErrors = false; // Validation logic...