Rollup merge of #49429 - GuillaumeGomez:fix-collapse-toggle-insertion, r=QuietMisdreavus
Fix collapse toggle insertions on impl with docs Just went through this one randomly... When an impl has docs, the collapse toggle isn't generated. This fixes it. r? @QuietMisdreavus
This commit is contained in:
commit
611ceef28d
1 changed files with 3 additions and 0 deletions
|
@ -1820,6 +1820,9 @@
|
|||
|
||||
var func = function(e) {
|
||||
var next = e.nextElementSibling;
|
||||
if (hasClass(e, 'impl') && next && hasClass(next, 'docblock')) {
|
||||
next = next.nextElementSibling;
|
||||
}
|
||||
if (!next) {
|
||||
return;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue