Make the tabs container a class, to make it reusable for other tab groups

This commit is contained in:
cmdr2
2023-02-06 13:48:18 +05:30
parent ded6a41f86
commit 0b3a35c4b6
4 changed files with 6 additions and 3 deletions

View File

@ -1466,6 +1466,9 @@ function linkTabContents(tab) {
tab.addEventListener("click", event => selectTab(tab.id))
}
function isTabActive(tab) {
return tab.classList.contains("active")
}
let pauseClient = false