improve collapsing table behavior

This commit is contained in:
hankhill19580
2020-04-27 03:17:48 +00:00
parent 8b6d8507ec
commit ff4cfd3eb0

View File

@ -37,7 +37,6 @@ hideableTables.forEach(function(configTable) {
hideRow(row)
configTable.classList.remove('tunnelConfigExpanded');
row.classList.remove('tunnelConfigExpanded');
console.log("hiding", row)
} else {
row.style.visibility = "visible";
row.querySelectorAll("th").forEach(function(configRow) {
@ -46,7 +45,6 @@ hideableTables.forEach(function(configTable) {
configTable.classList.add('tunnelConfigExpanded');
row.classList.add('tunnelConfigExpanded')
row.classList.add('excludeBackgroundImage')
console.log("unhiding", row)
}
}
}