diff --git a/static/js/portico/help.js b/static/js/portico/help.js index afa808b672..c5085f9fb5 100644 --- a/static/js/portico/help.js +++ b/static/js/portico/help.js @@ -137,6 +137,9 @@ function scrollToHash(container) { var $next = $(e.target).next(); if ($next.is("ul")) { + // Close other article's headings first + $('.sidebar ul').not($next).hide(); + // Toggle the heading $next.slideToggle("fast", "swing", function () { markdownPS.update(); });