Anatole: What's JQuery used for?

Created on 13 Mar 2021  路  4Comments  路  Source: lxndrblz/anatole

Hi, Could you point me to what's actually using JQuery in the theme? It pulls in JQuery, JQuery Migrate, and JQuery Appear but I'm struggling to actually find anything that uses it.

Cheers.

question

All 4 comments

@Xen-Echo Good question! It should no be longer necessary to load the three scripts you are referring to, as everything else (Hamburger Menu, Theme Switcher and Medium Zoom) are implemented in vanilla JavaScript.

Awesome I guess the question is: should I remove them? Could shave some loading time and the pages aren't bloated with unused scripts!

@Xen-Echo You were a bit faster commenting than I could push the update. I've removed them now, as it will help with the load times, maintainability and security.

@lxndrblz Awesome thanks for that!

Was this page helpful?
0 / 5 - 0 ratings

Related issues

xiangli2pro picture xiangli2pro  路  5Comments

shariq1989 picture shariq1989  路  3Comments

isa-chavarria picture isa-chavarria  路  5Comments

jwalsh2me picture jwalsh2me  路  6Comments

tangxuemei1995 picture tangxuemei1995  路  4Comments