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
Hello, friend.
Example - I have 4 items in my page. Every item has index from 1 to 4. In the loop mode after 4 item page goes to the first item, BUT url postfix is `peachananr#5`. If I reload page in this state - script will have exception.
```onepagescroll.js:88 Uncaught TypeError: Cannot read properties of null (reading 'dataset')
at init (onepagescroll.js:88:39)
at onePageScroll (onepagescroll.js:523:10)
at (индекс):505:5```
To fis this problem I made this little correction - I check if item with index from URL exists and set index to 1 if not.
So if I add the scrolling works however if you pass parameter like:
scrolling doesn't work.Thoughts?
The text was updated successfully, but these errors were encountered: