[BACK]Return to form.min.js CVS log [TXT][DIR] Up to [local] / draft

Diff for /draft/form.min.js between version 1.94 and 1.96

version 1.94, 2024/03/31 16:50:24 version 1.96, 2024/03/31 16:52:11
Line 43  async function sendData() {
Line 43  async function sendData() {
         if(erro) {          if(erro) {
                 info.textContent="One or more fields have an error. Please check and try again."                  info.textContent="One or more fields have an error. Please check and try again."
         } else {          } else {
                 var fcon = document.querySelectorAll(".wpcf7-form-control"),                  var fcon = document.querySelectorAll(".wpcf7-form-control");
   
                 info.textContent="Verifying..."                  info.textContent="Verifying..."
                 fcon.forEach((f) => {                  fcon.forEach((f) => {
Line 58  async function sendData() {
Line 58  async function sendData() {
                                 'response-field': false,                                  'response-field': false,
                                 sitekey: '0x4AAAAAAAVpXFEy152AON1L',                                  sitekey: '0x4AAAAAAAVpXFEy152AON1L',
                                 'error-callback': function(e) {                                  'error-callback': function(e) {
                                         info.textContent="Verification error. Try again later."                                          info.textContent="Verification error. Try again later.";
                                         turnstile.remove();                                          turnstile.remove();
                                 },                                  },
                                 callback: function(token) {                                  callback: function(token) {

Legend:
Removed from v.1.94  
changed lines
  Added in v.1.96

https://cvs.kroczynski.net