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

New rustdoc "Loading content..." feature breaks inbound anchors #56872

Closed
JohnHeitmann opened this issue Dec 16, 2018 · 1 comment
Closed

New rustdoc "Loading content..." feature breaks inbound anchors #56872

JohnHeitmann opened this issue Dec 16, 2018 · 1 comment
Labels
T-rustdoc Relevant to the rustdoc team, which will review and decide on the PR/issue.

Comments

@JohnHeitmann
Copy link
Contributor

If you visit a doc page on docs from nightly with a url that includes an anchor, e.g. '.../doc/std/iter/trait.Iterator.html#method.size_hint', then the page stops loading due to a js error. The "Loading content..." messages remain forever and no doc content appears.

The js error is:

main.js:222 Uncaught TypeError: h3.getElementsByClassName is not a function
    at expandSection (main.js:222)
    at main.js:2416
    at main.js:2462
@Aaron1011 Aaron1011 added the T-rustdoc Relevant to the rustdoc team, which will review and decide on the PR/issue. label Dec 16, 2018
@GuillaumeGomez
Copy link
Member

Fixed by #56876.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
T-rustdoc Relevant to the rustdoc team, which will review and decide on the PR/issue.
Projects
None yet
Development

No branches or pull requests

3 participants