This topic has 3 replies, 3 voices, and was last updated 9 years by iamj_kim.

  • Author
  • #74244
     iamj_kim
    Participant

    Hello,

    In global.js I changed

    jq(‘body, html’).animate({
    scrollTop: jq(“.item-list-tabs”).offset().top
    }, 500);

    to

    jq(‘html, body’).animate({
    scrollTop: 0;

    and it works great. But I get the error:
    “Uncaught SyntaxError: Unexpected token ;”

    Can you tell me why I am getting this error and how to fix it? Thanks.

    #74723
     Laura
    Moderator

    Hello, will assign the ticket to a higher support lever who can help and advise you in your query.
    Thanks! 🙂

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution

    Laura Solanes - Graphic Designer and Web Designer

    Please be patient as I try to answer each topic as fast as i can.

    If you like the theme or the support you've received please consider leaving us a review on Themeforest!

    Always happy to help you 🙂

    #75323
     Andrei
    Moderator

    Probably you mistyped something, please change only the line with the “scrollTop” value.
    Cheers

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution
    #75415
     iamj_kim
    Participant

    Great, Thanks Andrei.

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

You must be logged in to reply to this topic.

Log in with your credentials

Forgot your details?