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

toc not aware of page url? #64

Open
su-narthur opened this issue Feb 8, 2017 · 0 comments
Open

toc not aware of page url? #64

su-narthur opened this issue Feb 8, 2017 · 0 comments

Comments

@su-narthur
Copy link

su-narthur commented Feb 8, 2017

I'm adding toc.js to a page at http://localhost:8080/testview?view=dev/styleguide.html, yet the links in the TOC are things like this:

<a href="#toc-atoms">Atoms</a>

Clicking on that link takes me to http://localhost:8080/#toc-atoms in error. I think the links should be like /testview?view=dev/styleguide.html#toc-atoms, instead.

How can this be fixed?

Also, not sure if this is related, but the active state isn't following my scroll, either.

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

No branches or pull requests

1 participant