Skip to content

Commit

Permalink
Do not include metadata collapsible into expand/collapse all button (#…
Browse files Browse the repository at this point in the history
…460)

To avoid inconsistent behavior with other TR specs
  • Loading branch information
dontcallmedom authored Aug 30, 2023
1 parent 34a4d80 commit b68550f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.bs
Original file line number Diff line number Diff line change
Expand Up @@ -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")) {
Expand Down

0 comments on commit b68550f

Please sign in to comment.