documentation

This commit is contained in:
ReznoRMichael 2021-07-28 11:24:36 +02:00
commit ebc9a6f586
3 changed files with 15 additions and 13 deletions

View file

@ -6705,16 +6705,15 @@ function GenerateInnerHTML(db) {
function PageSwitchTab(clickedButton) {
var sectionList = document.querySelectorAll(".large-section");
console.log(sectionList);
for (var i = 0, length = sectionList.length; i < length; i++) {
if (sectionList[i].id !== "tab-".concat(clickedButton.name)) {
if (sectionList[i].classList.contains(".hidden")) {
sectionList[i].classList.add(".hidden");
if (!sectionList[i].classList.contains("hidden")) {
sectionList[i].classList.add("hidden");
}
} else {
if (sectionList[i].classList.contains(".hidden")) {
sectionList[i].classList.remove(".hidden");
if (sectionList[i].classList.contains("hidden")) {
sectionList[i].classList.remove("hidden");
}
}
}

File diff suppressed because one or more lines are too long