Skip to content

Commit

Permalink
Collapse blanket impls in the same way as normal impls
Browse files Browse the repository at this point in the history
  • Loading branch information
laurmaedje committed Mar 29, 2019
1 parent 2002b4b commit 9e4ec7a
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions src/librustdoc/html/static/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -2071,6 +2071,14 @@ if (!DOMTokenList.prototype.remove) {
collapser(e, collapse);
});
}

var blanket_list = document.getElementById("blanket-implementations-list");

if (blanket_list !== null) {
onEachLazy(blanket_list.getElementsByClassName("collapse-toggle"), function(e) {
collapser(e, collapse);
});
}
}
}

Expand Down

0 comments on commit 9e4ec7a

Please sign in to comment.