Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix anchors.add() being called too late #25

Merged
merged 1 commit into from Jun 13, 2021
Merged

Fix anchors.add() being called too late #25

merged 1 commit into from Jun 13, 2021

Conversation

pamtbaau
Copy link
Contributor

@pamtbaau pamtbaau commented Jun 13, 2021

This PR will fix issue H4 hyperlink won't jump to it's page position #897 about anchors not being jumped to by the browser.

See remark at AnchorJS:

Don't add anchors on later events, like $(document).ready() or window.onload as some browsers will attempt to jump to your ID before AnchorJS can add it to the page. For more details, see github issue #69.

@rhukster
Copy link
Member

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants