Enabling the add-on re-captcha breaks my other pages
I have enabled the re-captcha add-on and some pages now exhibit a scripting error. on line “AnsPress.captcha = {};” in code below.
I have enabled the re-captcha add-on and some pages now exhibit a scripting error. on line “AnsPress.captcha = {};” in code below.
jQuery(‘body’).on(‘submit’, jQuery(this).closest(‘form’), function(){
grecaptcha.reset(AnsPress.captcha[id]);
});
});
}
jQuery(document).ready(function(){
AnsPress.captcha = {};
});
The other page has nothing to do with Anspress nor does it have any short codes. However I do have other plugins on the site that enable google recaptcha.
The other page has nothing to do with Anspress nor does it have any short codes. However I do have other plugins on the site that enable google recaptcha.