Hide/Show the hide-or-show panel
This commit is contained in:
parent
5e2c3b4704
commit
6a9315f295
1 changed files with 1 additions and 1 deletions
|
@ -295,7 +295,7 @@ Logic.registerPanel(P_CONTAINER_INFO, {
|
||||||
|
|
||||||
// Show or not the has-tabs section.
|
// Show or not the has-tabs section.
|
||||||
for (let trHasTabs of document.getElementsByClassName("container-info-has-tabs")) { // eslint-disable-line prefer-const
|
for (let trHasTabs of document.getElementsByClassName("container-info-has-tabs")) { // eslint-disable-line prefer-const
|
||||||
trHasTabs.hidden = !identity.hasHiddenTabs && !identity.hasOpenTabs;
|
trHasTabs.style.display = !identity.hasHiddenTabs && !identity.hasOpenTabs ? "none" : "";
|
||||||
}
|
}
|
||||||
|
|
||||||
const hideShowIcon = document.getElementById("container-info-hideorshow-icon");
|
const hideShowIcon = document.getElementById("container-info-hideorshow-icon");
|
||||||
|
|
Loading…
Add table
Reference in a new issue