Okay
  Public Ticket #1352093
Theme.js
Closed

Comments

  •  1
    Fabio started the conversation

    Hi Alek,

    I have been facing a issue with the Drop down menu of my website. It does not show the list of items in the menu. While passing the mouse over or clicking on a mobile version of the website, the menu does not work/show the list of sub-menus.

    In terms of JS error, I see this about the Themel.js

    theme.js:2649 Uncaught TypeError: Cannot set property 'w' of undefined
        at f (theme.js:2649)
        at dispatch (jquery.js:3)
        at r.handle (jquery.js:3)
        at Object.trigger (jquery.js:3)
        at Object.a.event.trigger (jquery-migrate.min.js:2)
        at jquery.js:3
        at Function.each (jquery.js:2)
        at a.fn.init.each (jquery.js:2)
        at a.fn.init.trigger (jquery.js:3)
        at new CVParallaxScrolling (theme.js:2137)

    I disabled the plugins but the problem persist. Can you please provide some guidance?

    Thanks,

    Fabio

  •  66
    Alek replied

    For now you can try this. Edit the theme.js file: camyno/assets/js/theme.js

    Jump to line 2278, it should look like this:

    new CVParallaxScrolling();

    You can remove that altogether, or replace it with this:

    // new CVParallaxScrolling();

    This will remove parallax scrolling, but it should hopefully resolve this issue.

  •  1
    Fabio replied

    Hi Alek,

    Thanks! 

    That made the menu to work again.

  •  66
    Alek replied

    Glad to help! Let me know if you need anything else.