Enabling the add-on re-captcha breaks my other pages

Solved3.87K viewsCore
0

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.

Question is closed for new answers.
Selected answer as best
0

Fixed in latest release 4.1.10

Selected answer as best