• Resolved lkits

    (@lkits)


    Hey,

    Your plugin is working great overall, but in comments section, Google Captcha doesn’t load.
    I can see from HTML that DIV element exists, but somewhy it doesn’t load.
    Are there any conflicts so Google Captcha doesn’t load?

    Website: http://www.vinkelheli.com/tagasiside/

    • This topic was modified 9 years, 2 months ago by lkits.
Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter lkits

    (@lkits)

    It seems somewhy jQuery :visible selector doesn’t work some time. Needed to add a bit tweak to script.js.

    Changed this (added to IF :not(:hidden) comparison

    $( '.gglcptch_v1, .gglcptch_v2' ).each( function() {
        var container = $( this ).find( '.gglcptch_recaptcha' );
        if (container.is( ':empty' ) && ( gglcptch.vars.visibility || $( this ).is( ':visible' ) === $( this ).is(':not(:hidden)') ) ) {
            var containerId = container.attr( 'id' )
            gglcptch.display( containerId );
        }
    } );
    Plugin Author bestwebsoft

    (@bestwebsoft)

    Hi,

    Thank you for contacting us and for your kind suggestion. We will consider it and test your code snippet, and if we deem it useful, we will make the necessary changes to the plugin.

    Sincerely,
    BestWebSoft Support Team

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘DIV element not loading in comments’ is closed to new replies.