fix collapsing table behavior on i2ptunnel edit pages

This commit is contained in:
hankhill19580
2020-05-01 23:33:09 +00:00
parent 278090a772
commit bef9ea11bf
2 changed files with 36 additions and 39 deletions

View File

@ -35,6 +35,9 @@ hideableTables.forEach(function(configTable) {
if (i >= minRow) {
if (row.classList.contains("tunnelConfigExpanded")) {
hideRow(row)
row.querySelectorAll("th").forEach(function(configRow) {
configRow.classList.remove('tunnelConfigExpanded');
});
configTable.classList.remove('tunnelConfigExpanded');
row.classList.remove('tunnelConfigExpanded');
} else {