a1c00l commited on
Commit
f7d8791
·
verified ·
1 Parent(s): 93bdfa2

Update templates/index.html

Browse files
Files changed (1) hide show
  1. templates/index.html +2 -0
templates/index.html CHANGED
@@ -256,6 +256,8 @@
256
  console.log("Got token from reCAPTCHA");
257
  // Set the token in the hidden input
258
  document.getElementById('g-recaptcha-response').value = token;
 
 
259
  // Disable button and change text
260
  var button = document.getElementById('generate-button');
261
  button.disabled = true;
 
256
  console.log("Got token from reCAPTCHA");
257
  // Set the token in the hidden input
258
  document.getElementById('g-recaptcha-response').value = token;
259
+ // Log the value to verify it was set
260
+ console.log("Token set in input:", document.getElementById('g-recaptcha-response').value.substring(0, 10) + "...");
261
  // Disable button and change text
262
  var button = document.getElementById('generate-button');
263
  button.disabled = true;