Viewing 4 replies - 1 through 4 (of 4 total)
  • 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 www.remarpro.com 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

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘A serious help || "zerif.js" file throwing a JavaScript error’ is closed to new replies.