Home Forums Porto Template uncaught js error

This topic contains 4 replies, has 2 voices, and was last updated by  poisons 2 weeks, 4 days ago. This post has been viewed 59 times

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

    poisons
    Participant

    I’m selectively adding js files, not need everything and want to lighter the website, now when I scroll down the page it apperas this js error:

    Uncaught TypeError: self.$el.stop is not a function
        at theme.js:2427
        at dispatch (jquery-3.3.1.slim.min.js:2)
        at v.handle (jquery-3.3.1.slim.min.js:2)

    What js file have I to include?
    Thanks


    #10030560

    Support
    Keymaster

    Hello, the .stop() is a Jquery function to stop the animation with a callback, which you can see more information in this link: https://api.jquery.com/stop/ – So it basically means that the problem is not actually a missing JS file in your website, it’s probably something else.

    If possible, send us the URL so we can check and debug the JS for you.

    Kind Regards,

    Jonas


    #10030565

    poisons
    Participant
    This reply has been marked as private.
    #10030576

    Support
    Keymaster

    Hello, the problem is that you are using jQuery Slim build, which does not have all the functions that Porto uses.

    https://jquery.com/download/

    Use the compressed version.

    Please try that and let me know if you need further assistance.

    Kind Regards,

    Jonas


    #10030587

    poisons
    Participant

    Thanks Jonas, problem solved


Viewing 5 posts - 1 through 5 (of 5 total)