From 1479492753ea044aaae570607c43a17bea43423b Mon Sep 17 00:00:00 2001 From: dereklseitz Date: Thu, 21 Aug 2025 19:22:10 -0500 Subject: [PATCH] add call for hCaptcha token --- src/scripts/contact-form.js | 2 -- 1 file changed, 2 deletions(-) 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...