• Resolved adminlibreriaurano

    (@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.

    https://likebtn.com/en/
    ————
    Code of LikeBtn.
    <!– LikeBtn.com 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;a.id=”likebtn_wjs”;a.src=s;m.parentNode.insertBefore(a, m)})(document,”script”,”//w.likebtn.com/js/w/widget.js”);</script>
    <!– LikeBtn.com 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

    (@adminlibreriaurano)

    Hello

    FIXED THE PROBLEM. SOLVED. ??
    Check my website. (Use Jquery-3.3.1.min.js – news ticker version
    https://www.masquesaber.es

    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( e.target );
    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.
    WEBSITE TO CHECK
    https://www.masquesaber.es (Spain)
    Example: https://imgur.com/W9cmRpU

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