Hi,
Yes, we are already aware of this issue and we have already fixed it in the latest version of the theme, which is still under review at WordPress.org Theme Trac. 🙂
Regards,
Hardeep
Hello,
Hardeep could you let us know what you did to fix it? I am working on a site that didn’t use a child theme so I will have to edit the js file manually.
Not sure if this helps but the error for me is with the show/hide reCaptcha section of the JS.
if ( thisOpen == false && jQuery('.contact-form textarea').val().length > 0 ) {
thisOpen = true;
jQuery('.g-recaptcha').css('display','block').delay(1000).css('opacity','1');
}
console says Uncaught TypeError: Cannot read property ‘length’ of undefined but yet in the part above this it uses a similar statement.
Hi,
This is the fix:
if ( thisOpen == false && (typeof jQuery('.contact-form textarea').val() != 'undefined') && (jQuery('.contact-form textarea').val().length > 0) ) {
thisOpen = true;
jQuery('.g-recaptcha').css('display','block').delay(1000).css('opacity','1');
}
Thank you,
Rodica