Skip to content

Commit

Permalink
testing
Browse files Browse the repository at this point in the history
  • Loading branch information
atteggiani committed Sep 10, 2024
1 parent 2f8862f commit b32ca9c
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions docs/js/miscellaneous.js
Original file line number Diff line number Diff line change
Expand Up @@ -73,10 +73,8 @@ function tabFunctionality() {
} else if (tabLabels.querySelector(".activeTab")) {
tabID = tabLabels.querySelector(".activeTab").id;
} else {
tabID = tabLabels.firstChild.id;
tabID = tabLabels.firstElementChild.id;
}
// tabs.querySelector(`:nth-child(${index})`).classList.add("activeTab");
// document.querySelectorAll(`.tabContents[label="${label}"] > :nth-child(${index})`).forEach(content => content.classList.add("activeTab"));
openTab(document.getElementById(tabID));
})
}
Expand Down

0 comments on commit b32ca9c

Please sign in to comment.