Jquery error when navigating through sidebar

  • Posted in : Empathy
  • gxd
    Participant

    Hello,

    Whenever I click any of the buttons in the custom menu with animations, I am getting a Jquery error in the console.
    Also, I cannot refresh the page after I launch the website (i.e. When I am in any of the urls containing ‘/#/’)

    How can I fix this?

    Thank you.

    serkan
    Moderator

    Hi @gxd
    Could you provide me your related URL, please?
    Thanks

    gxd
    Participant

    Hello @serkan
    The website is not yet online, and it is not something I would push online.
    Here’s the error I am receiving:

    jquery.js?ver=1.12.4-wp:2 Uncaught Error: Syntax error, unrecognized expression: #/about-me
    at Function.ea.error (jquery.js?ver=1.12.4-wp:2)
    at ea.tokenize (jquery.js?ver=1.12.4-wp:2)
    at ea.select (jquery.js?ver=1.12.4-wp:2)
    at Function.ea (jquery.js?ver=1.12.4-wp:2)
    at Function.a.find (jquery-migrate.min.js?ver=1.4.1:2)
    at n.fn.init.find (jquery.js?ver=1.12.4-wp:2)
    at n.fn.init.a.fn.find (jquery-migrate.min.js?ver=1.4.1:2)
    at a.fn.init.n.fn.init (jquery.js?ver=1.12.4-wp:2)
    at new a.fn.init (jquery-migrate.min.js?ver=1.4.1:2)
    at n (jquery.js?ver=1.12.4-wp:2)

    Note that the URL (example: #/about-me) changes depending on the page that I navigate to.

    serkan
    Moderator

    Hi,
    Removed the data-target, with this change the menu works fine or remove the hashtag (#).
    Thanks

    gxd
    Participant

    Hello @serkan

    I didn’t understand. What should I do to remove the hashtag or remove the data-target in order to fix this on the website I’m working on?

    Thank you.

    serkan
    Moderator

    Hi,
    We can check your issue, when you go online with your website.

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

You must be logged in and have valid license to reply to this topic.

License required for the following item
Login and Registration Log in · Register