Skip to content

Commit 4c79bd2

Browse files
Viktor Zaundersclaude
authored andcommitted
Disable reCAPTCHA on contact form to debug submission issues
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent 8aeabde commit 4c79bd2

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

index.html

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<meta name="viewport" content="width=device-width, initial-scale=1" />
66
<title>Dash Chat</title>
77
<link href="https://fonts.googleapis.com/css2?family=Rubik:wght@400;500;600;700&display=swap" rel="stylesheet" />
8-
<script src="https://www.google.com/recaptcha/api.js" async defer></script>
8+
<!-- <script src="https://www.google.com/recaptcha/api.js" async defer></script> -->
99
<style>
1010
:root {
1111
--bg: #fcfcfc;
@@ -359,7 +359,7 @@ <h2>Get involved</h2>
359359
<textarea id="details" name="details" rows="4" placeholder="Org/group, size, Android/iOS mix, what you have in mind."></textarea>
360360
</div>
361361

362-
<div class="g-recaptcha" data-sitekey="6LfXWbYrAAAAAA0JyvaevQVvn_5YCQIkLDJPOKoL"></div>
362+
<!-- <div class="g-recaptcha" data-sitekey="6LfXWbYrAAAAAA0JyvaevQVvn_5YCQIkLDJPOKoL"></div> -->
363363
<button type="submit" class="submit-btn">Send &rarr;</button>
364364
</form>
365365

@@ -481,10 +481,10 @@ <h3>Advisors</h3>
481481

482482
form.addEventListener('submit', function (e) {
483483
e.preventDefault();
484-
if (typeof grecaptcha !== 'undefined') {
485-
var token = grecaptcha.getResponse();
486-
if (!token) { alert('Please complete the reCAPTCHA.'); return; }
487-
}
484+
// if (typeof grecaptcha !== 'undefined') {
485+
// var token = grecaptcha.getResponse();
486+
// if (!token) { alert('Please complete the reCAPTCHA.'); return; }
487+
// }
488488
var fd = new FormData(form);
489489
fetch(form.action, {
490490
method: 'POST',
@@ -495,7 +495,7 @@ <h3>Advisors</h3>
495495
if (resp.ok) {
496496
form.style.display = 'none';
497497
successBox.style.display = 'block';
498-
if (typeof grecaptcha !== 'undefined') grecaptcha.reset();
498+
// if (typeof grecaptcha !== 'undefined') grecaptcha.reset();
499499
} else {
500500
alert('Sorry, there was a problem. Please try again.');
501501
}

0 commit comments

Comments
 (0)