Cannot read property 'top' of undefined
BenRacicot opened this issue · 1 comments
BenRacicot commented
Hello, I've loaded up Smooth-Scroll for the first time and am getting a strange error:
Uncaught TypeError: Cannot read property 'top' of undefined
I've gone through the code and all dependencies are loading correctly.
Thanks!
UPDATE: I had the link Id's setup like a traditional 'on-page' anchor link would go. I've read through the examples to see how Smooth-Scroll works. Thanks for building it.
kswedberg commented
Ah, glad you got it working!