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

Diff for /draft/form.min.js between version 1.2 and 1.12

version 1.2, 2024/03/27 23:12:53 version 1.12, 2024/03/27 23:39:30
Line 26  async function sendData() {
Line 26  async function sendData() {
         if(er){          if(er){
                 ii.textContent="One or more fields have an error. Please check and try again.";                  ii.textContent="One or more fields have an error. Please check and try again.";
         } else {          } else {
                 var fc = document.querySelectorAll(".wpcf7-form-control"),                  var fc = document.querySelectorAll(".wpcf7-form-control");
                         bt = document.getElementById("wpcf7-button");  
                 ii.textContent="All good.";                  ii.textContent="All good.";
                 fc.forEach((f) => {                  fc.forEach((f) => {
                 f.disabled=true;                  f.disabled=true;
                 });                  });
                 bt.text="OK"                  fc.last.visibility="hidden";
         }          }
 };  };
   

Legend:
Removed from v.1.2  
changed lines
  Added in v.1.12

https://cvs.kroczynski.net