Support » Plugin: Jetpack - WP Security, Backup, Speed, & Growth » Suggestion – LIKES vs LikeBtn (please change de code)

  • Resolved adminlibreriaurano


    Hello friends.

    Check this plugin. use correctly the function load, and the getElementById (Likes no use correctly this, and make conflict with jquery-3.3.1) LikeBtn not make conflict.
    Code of LikeBtn.
    <!– BEGIN –>
    <span class=”likebtn-wrapper” data-identifier=”item_1″></span>
    <script>(function(d,e,s){if(d.getElementById(“likebtn_wjs”))return;a=d.createElement(e);m=d.getElementsByTagName(e)[0];a.async=1;”likebtn_wjs”;a.src=s;m.parentNode.insertBefore(a, m)})(document,”script”,”//”);</script>
    <!– END –>

    Please a new version of LIKES, PLEASE. πŸ˜€

    The page I need help with: [log in to see the link]

Viewing 1 replies (of 1 total)
  • Thread Starter adminlibreriaurano



    Check my website. (Use Jquery-3.3.1.min.js – news ticker version

    STEP TO FIXED the message to Firefox( load not is a function).:-D

    wp-content / plugins / jetpack / modules/ likes / queuehandler.js
    1 step
    change the code to this.
    $wrapper.find( ‘iframe’ ).on(‘load’, function ( e ) {
    var $iframe = jQuery( );
    2 step
    change the WraperID to WraperId
    ( wrapperId ) all results.

    3 step
    change in the queuehandler.min.js
    wp-content / plugins / jetpack / _inc / build / likes / queuehandler.min.js
    find the line – t.find(“iframe”).load(function)
    And change to this
    t.find(“iframe”).on(‘load’, function
    And save.
    Reload the website. πŸ˜€ and enjoy.

    NOTE: Using Jquery-3.3.1-min.js version with news ticker. And it no longer gives conflict. Because this is what firefox tells you. How to fix it. And works.

Viewing 1 replies (of 1 total)
  • The topic ‘Suggestion – LIKES vs LikeBtn (please change de code)’ is closed to new replies.