JS Bug with anchor link
-
Hi,
I’m trying to add a link in the top menu that links to an ancho in my page.
I’ve found the ID of my element, and used it as mentioned in https://www.youtube.com/watch?v=TuEvQldjQWcBut, when I click on the menu item, it throws this error in JS console:
Uncaught TypeError: Cannot read property ‘top’ of undefined
at HTMLAnchorElement.<anonymous> (shapely-scripts.js?ver=20160115:42)
at HTMLAnchorElement.dispatch (jquery.js?ver=1.12.4:3)
at HTMLAnchorElement.r.handle (jquery.js?ver=1.12.4:3)I’ve tried the patch proposed here without success: https://stackoverflow.com/questions/48465903/cant-click-on-mobile-menu-when-using-anchor-link-directly-on-url
Help wanted ??
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘JS Bug with anchor link’ is closed to new replies.