Okay
  Public Ticket #333901
Urgent! - Javascript Elements have Disappeared
Closed

Comments

  • Dan started the conversation

    After attempting to amend the scripts.js file to prevent the vertical slider from sliding (as instructed in another ticket) some of the main content of my site has disappeared - please see link!

    The vertical slider, intro image animation, services block, contact form and map features have all disappeared. So I may be wrong, but I think it's all (or most) of the javascript elements that have disappeared only.

    I restored the scripts.js file to its original setting (using an archive version of the file) but it hasn't helped.

    Please help! Thanks.

    Dan

  •  1,973
    Support replied

    Hi Dan

    you have an uncaught js error that is actually breaking the whole javascript execution.

    Uncaught ReferenceError: fade is not defined

    plz revert the changes, it looks like you have done something in scripts.js which has this effect.

    thx

    Thank you.

    Clapat Support

    https://www.clapat.com/

    Review Envato Item Support Policy

  •  1,973
    Support replied

    Refresh the page to allow the new version of scripts.js to be loaded in the page

    Thank you.

    Clapat Support

    https://www.clapat.com/

    Review Envato Item Support Policy

  • Dan replied

    Thank you but I've reverted back to the original js file and refreshed the page a hundred times, in all browsers. Still not working!

  •  1,973
    Support replied

    Dan, what is the theme version you are running. I can send you here the latest version fo the js file. thanks

    Thank you.

    Clapat Support

    https://www.clapat.com/

    Review Envato Item Support Policy

  • Dan replied

    v1.3

    I do have a backup of all original files though and I have repeatedly tried replacing scripts.js with the original unchanged one I have as backup. It still doesn't help. But yes, I will try your file - thanks!

  • Dan replied

    Fixed. All I needed to do was 'Flush Cache' within my WP control panel. Sorry for the fuss - was a simple fix. Thanks for the help!