You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Solution provided by Reddit user IAMAnuttysquirrel:
Bad luck, the vanilla JS version of the library has a bug too. But we can work around it.
moveTo() tries to remove .active from the .onepage-pagination li a jquery.onepage-scroll.js:473 But since you initialised onePageScroll({pagination: false}) it actually hasn't created the pagination dom elements. Thus, trying to change the className of a non-existing element... Uncaught TypeError.
The onePageScroll developer has forgotten to surround this piece of code with:
tips: Cannot read property 'className' of null
The text was updated successfully, but these errors were encountered: