basically i dont want the js file to show in edit mode. but it show no matter what code i put in.
if you use this instead:
if (!Page::getCurrentPage()->isEditMode()) ....
This website stores cookies on your computer. These cookies are used to improve your website experience and provide more personalized services to you, both on this website and through other media. To find out more about the cookies we use, see our Privacy Policy.
where are you using it?