1(($) => { 2 function submitWidgetInForm(form) { 3 const elements = form.find(".frc-captcha"); 4 if (!elements) { 5 return; 6 } 7 8 elements.each((_, e) => { 9 if (e.friendlyChallengeWidget) { 10 e.friendlyChallengeWidget.reset(); 11 } else if (e.frcWidget) { 12 e.frcWidget.reset(); 13 } 14 }); 15 } 16 17 $("form.wpforms-form").on( 18 "wpformsAjaxSubmitSuccess wpformsAjaxSubmitFailed", 19 (event) => { 20 const form = $(event.target); 21 if (form) { 22 submitWidgetInForm(form); 23 } 24 } 25 ); 26})(jQuery);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.