Skip to content

Commit

Permalink
Make sure intro cover is closed if intro is not shown
Browse files Browse the repository at this point in the history
 - This option will be replaced by something different in 3.12
  • Loading branch information
torinfo committed Jan 19, 2023
1 parent 3153bf4 commit be4a533
Showing 1 changed file with 4 additions and 2 deletions.
Expand Up @@ -481,8 +481,10 @@
$infoHolder.find(".closeTxt a").add($contentCover).on("click", function() {
$infoHolder.accordion("option", "active", false);
});

$contentCover.show();

if ($infoHolder.accordion("option", "active") !== false) {
$contentCover.show();
}

} else {
// no introduction text - remove accordion
Expand Down

0 comments on commit be4a533

Please sign in to comment.