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

Diff for /draft/form.min.js between version 1.89 and 1.90

version 1.89, 2024/03/31 16:22:00 version 1.90, 2024/03/31 16:24:59
Line 59  async function sendData() {
Line 59  async function sendData() {
                                 sitekey: '0x4AAAAAAAVpXFEy152AON1L',                                  sitekey: '0x4AAAAAAAVpXFEy152AON1L',
                                 'error-callback': function(e) {                                  'error-callback': function(e) {
                                         info.textContent="Cloudflare Turnstile verification error. Try again later."                                          info.textContent="Cloudflare Turnstile verification error. Try again later."
                                           turnstile.remove();
                                 },                                  },
                                 callback: function(token) {                                  callback: function(token) {
                                         const data = JSON.stringify({"add": mail, "sub": subj, "msg": mess, "tok": token});                                          const data = JSON.stringify({"add": mail, "sub": subj, "msg": mess, "tok": token});
Line 72  async function sendData() {
Line 73  async function sendData() {
                                         })                                          })
                                         .then(response => response.json())                                          .then(response => response.json())
                                         .then(json => info.textContent=json['msg'])                                          .then(json => info.textContent=json['msg'])
                                           .then(turnstile.remove();)
                                 }                                  }
                         });                          });
                 });                  });
                 turnstile.remove();  
         };          };
 }  }
   

Legend:
Removed from v.1.89  
changed lines
  Added in v.1.90

https://cvs.kroczynski.net