Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #1439170

    I have installed a plugin called Chaty for direct online chat on the website.
    This is not functioning properly because of layerslider

    There seems to be some script on the website which triggers HTML body click frequently. Please check the video below and you can see the count of console log.
    https://drive.google.com/file/d/1R9GKiBADC-vngycKoB3XHerwBkCqmmfb/view?usp=sharing

    We’re not really 100% percent sure but it looks like this script https://taratec.co.za/wp-content/themes/enfold/config-layerslider/LayerSlider/assets/static/layerslider/js/layerslider.kreaturamedia.jquery.js?ver=7.9.1.
    From the LayerSlider plugin.

    Please advise as this is needed urgently on the website as clients are using it daily.

    I did get rid of all other errors that were showing, some were wooCommerce tacking , which I stopped.

    #1439182

    Hey StephenStamp,

    Thank you for the inquiry.

    We can’t reproduce the issue on our end, but based on the short clip, looks like the body click or the console.log is triggered by the custom jQuery script, which seems to have been directly created in the browser console. Please check the screenshot in the private field.

    Best regards,
    Ismael

    #1439184

    HI Ismael

    I have not created any custom js script as far as I know little bit beyond me at this point.
    I would not even know where to look sorry any other assistance you could give would be appreciated

    #1439194

    where would aI begin to look for this and even try to sort it out…

    #1439237

    Hi,
    I tested your page with this script and it looks like the click is on the av-horizontal-gallery-next button, try disabling the Gallery Image Rotation.

    jQuery(document).on("click", "body,html", function(event) {
        console.log("Clicked Element:", event.target);
        console.log("Element Classes:", event.target.className);
        console.log("Element ID:", event.target.id);
        console.log("Element Tag Name:", event.target.tagName);
        console.log("Parent Elements:", getParentElements(event.target));
    });
    
    function getParentElements(element) {
        var parents = [];
        var currentElement = element.parentNode;
        while (currentElement !== null) {
            parents.push(currentElement);
            currentElement = currentElement.parentNode;
        }
        return parents;
    }
    

    Best regards,
    Mike

Viewing 5 posts - 1 through 5 (of 5 total)
  • You must be logged in to reply to this topic.