diff options
| author | Michael Howell <michael@notriddle.com> | 2022-09-17 09:38:57 -0700 |
|---|---|---|
| committer | Michael Howell <michael@notriddle.com> | 2022-10-24 11:03:46 -0700 |
| commit | ac732b62dd823a669628ca8a54655c18ea269c7d (patch) | |
| tree | a1bd58d69d88d0fe8a8654f52cf9402869a7fb5c /src/librustdoc/html/static/js/source-script.js | |
| parent | c07a6a9c0c6c571d535de74d7ec28469fba46e37 (diff) | |
| download | rust-ac732b62dd823a669628ca8a54655c18ea269c7d.tar.gz rust-ac732b62dd823a669628ca8a54655c18ea269c7d.zip | |
rustdoc: clean up `#toggle-all-docs`
This change converts the element from an `<a>` link to a button. It's pretty much directly trading slightly more CSS for slightly less HTML, and it's also semantically correct (so you don't get a broken "bookmark" option when you right click on it). While doing this, I also got rid of the unnecessary `class="inner"` attribute on the inner span. There was a style targeting `.collapse-toggle > .inner`, but no CSS ever targeted the `#toggle-all-docs > .inner`.
Diffstat (limited to 'src/librustdoc/html/static/js/source-script.js')
0 files changed, 0 insertions, 0 deletions
