Skip to content

Commit

Permalink
Merge pull request #8007 from abpframework/issue/7567
Browse files Browse the repository at this point in the history
Docs module: Fix navigation bar toggles when filtered
  • Loading branch information
ebicoglu committed Mar 10, 2021
2 parents 5ad302d + 79d4fe2 commit 3d2a3e7
Showing 1 changed file with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,11 @@
$('li:not(.last-link) span.plus-icon i.fa-chevron-right').click(
function () {
var $element = $(this).parent();
var $filter = $('.docs-version #filter');

if ($filter && $filter.val() != ''){
return;
}

$element.parent().children('ul.tree').toggle(100);
$element.closest('li').toggleClass('selected-tree');
Expand Down

0 comments on commit 3d2a3e7

Please sign in to comment.