The hash value of url change to 'undefined' when click the browser prev or next page #235

Closed
opened 2021-04-20 05:09:37 -05:00 by jerryc127 · 0 comments
jerryc127 commented 2021-04-20 05:09:37 -05:00 (Migrated from github.com)

For example, in my post page, the hash will change according to headings when we scroll.
The code
image

when i click the prev or next button in broswer, the hash value change to 'undefined', it cause the page '404'
image

For example, in my post page, the hash will change according to headings when we scroll. The code ![image](https://user-images.githubusercontent.com/16351105/115378316-035d9b80-a203-11eb-89ad-e4cc8b50db77.png) when i click the prev or next button in broswer, the hash value change to 'undefined', it cause the page '404' ![image](https://user-images.githubusercontent.com/16351105/115378745-723af480-a203-11eb-8755-fcd7ffbb6269.png)
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: iLoveElysia/pjax#235