diff --git a/index.bs b/index.bs index 4714113a..5f78cdcf 100644 --- a/index.bs +++ b/index.bs @@ -370,7 +370,7 @@ th, td { function toggleCE() { var button = document.querySelector(".collapse-expand-button"); var tip = document.querySelector(".tooltiptext"); - var allDetails = document.querySelectorAll('details'); + var allDetails = document.querySelectorAll(':not(.head) > details'); Array.from(allDetails).forEach(function(detail, index) { if (button.classList.contains("expand")) {