Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Tags: 8l/rust

Tags

homu-tmp

Toggle homu-tmp's commit message
Auto merge of rust-lang#24973 - roryokane:fix-minus-doc-buttons, r=al…

…excrichton

My change in rust-lang#24797 had a bug, described in that issue’s comments, and first discovered in issue rust-lang#24918. This fixes it.

I tested this new `main.js` by changing the `main.js` content of [a rendered docs page](https://doc.rust-lang.org/std/option/) to this new content. The ‘[−]’ button worked again.

I am also including another related fix, because it would require manual merging if I made a separate pull request for it. The page-global ‘[−]’ button currently adds `#` to the end of the URL whenever it is clicked. I am changing its `href` from `#` to `javascript:void(0)` (the same as the `href` for section-specific ‘[−]’ links) to fix that.

1.0.0-alpha.2

Toggle 1.0.0-alpha.2's commit message
1.0.0-alpha.2 release

1.0.0-alpha

Toggle 1.0.0-alpha's commit message
1.0.0-alpha release

0.12.0

Toggle 0.12.0's commit message
0.12.0 release

0.11.0

Toggle 0.11.0's commit message
0.11.0 release

0.10

Toggle 0.10's commit message
0.10 release

0.9

Toggle 0.9's commit message
0.9 release

0.8

Toggle 0.8's commit message
0.8 release

0.7

Toggle 0.7's commit message
0.7 release