diff --git a/sphinx_tabs/static/tabs.js b/sphinx_tabs/static/tabs.js index 48dc303..163ea57 100644 --- a/sphinx_tabs/static/tabs.js +++ b/sphinx_tabs/static/tabs.js @@ -89,6 +89,9 @@ function selectTab(tab) { tab.setAttribute("aria-selected", true); // Show the associated panel + document + .getElementById(tab.getAttribute("aria-controls")) + .parentNode.removeAttribute("hidden"); document .getElementById(tab.getAttribute("aria-controls")) .removeAttribute("hidden");