diff options
| author | bors <bors@rust-lang.org> | 2015-05-07 17:19:33 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2015-05-07 17:19:33 +0000 |
| commit | f0ac7e04e647381e2bb87de1f3d0b108acb24d06 (patch) | |
| tree | c7d59b02a4ea8c143541ec583297260de9b9be20 /src/libstd/sys | |
| parent | a39d4fc68472ed7a512a7de93f422d7697d92e06 (diff) | |
| parent | 61bb091f068f401f768b1a0e377f22bb83e4584c (diff) | |
| download | rust-f0ac7e04e647381e2bb87de1f3d0b108acb24d06.tar.gz rust-f0ac7e04e647381e2bb87de1f3d0b108acb24d06.zip | |
Auto merge of #24973 - roryokane:fix-minus-doc-buttons, r=alexcrichton
My change in #24797 had a bug, described in that issue’s comments, and first discovered in issue #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.
Diffstat (limited to 'src/libstd/sys')
0 files changed, 0 insertions, 0 deletions
