The pen is pretty self-explanatory.
I am want to trigger a function when reaching the 2nd section of my page, but for some reason it gets triggered on page load.
But on the same ScrollTrigger, the ToggleClass behaves normally.
What am I missing here?
I am only defining it at first, and then calling it
Thanks a lot in advance!