Improve accessibility of rustdoc pages
This commit is contained in:
parent
645dd013ac
commit
bb9ec82563
2 changed files with 4 additions and 3 deletions
|
@ -981,7 +981,7 @@
|
|||
$(".method").each(function() {
|
||||
if ($(this).next().is(".docblock") ||
|
||||
($(this).next().is(".stability") && $(this).next().next().is(".docblock"))) {
|
||||
$(this).children().first().after(toggle.clone());
|
||||
$(this).children().last().after(toggle.clone());
|
||||
}
|
||||
});
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue