Hide/Show the hide-or-show panel

This commit is contained in:
baku 2017-01-18 18:22:07 +01:00
parent 5e2c3b4704
commit 6a9315f295

View file

@ -295,7 +295,7 @@ Logic.registerPanel(P_CONTAINER_INFO, {
// Show or not the has-tabs section.
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");