diff --git a/docs/javascripts/toc-collapse.js b/docs/javascripts/toc-collapse.js index e04bf49a5..20d3f6a5c 100644 --- a/docs/javascripts/toc-collapse.js +++ b/docs/javascripts/toc-collapse.js @@ -74,15 +74,19 @@ userPinned.clear(); autoExpanded.clear(); - // Mark all nav roots so CSS can scope styles - sidebar.querySelectorAll("nav.md-nav").forEach(function (nav) { - nav.classList.add("md-nav--integrated"); - }); - - // Find every
  • inside the actual TOC (md-nav--secondary) that has - // nested children. We scope to the secondary nav to avoid touching the - // page-level nav item that wraps the TOC — that item contains a