Autoptimize selectively breaking anchor links
-
On ligadata.com/home and ligadata.com/use-cases, each page has a desktop section and a mobile section. Columns in the homepage section have anchor links to corresponding sections on the use cases page. For example, the desktop homepage for financial services uses the anchor link to jump to the financial services section on the use cases page. My problem is that the links are working between the mobile version sections on the respective pages, but not for the desktop version of the sections.
Divi / Elegant Themes support proved that turning off Autoptimize restores the function of the anchor links for the desktop version. They pointed out we had warnings saying “Uncaught ReferenceError: jquery is not defined.” I’ve searched your knowledge base and seen the advice to make sure js/jquery/jquery.js is included in or optimization exclusion list, and it is excluded.
Any ideas for how to fix this so that it works with Autoptimize turned on?
The page I need help with: [log in to see the link]
- The topic ‘Autoptimize selectively breaking anchor links’ is closed to new replies.