1
Fork 0

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:
kennytm 2018-03-28 17:55:14 +02:00 committed by GitHub
commit 611ceef28d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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;
}