ensure there is a visible active sidebar page
this will prevent issues with users navigating directly to a page without hitting any related method pages
This commit is contained in:
parent
4374f1317e
commit
dc9c8f95bc
2 changed files with 4 additions and 2 deletions
|
@ -218,7 +218,9 @@ $(document).ready(function(){
|
|||
}
|
||||
$(li).addClass("completed");
|
||||
});
|
||||
$('.sidebar.sticky').css("display", "inherit");
|
||||
if (ol.children(".active").css("display") != "none"){
|
||||
$('.sidebar.sticky').css("display", "inherit");
|
||||
}
|
||||
}
|
||||
}
|
||||
});
|
||||
|
|
2
assets/js/main.min.js
vendored
2
assets/js/main.min.js
vendored
File diff suppressed because one or more lines are too long
Loading…
Reference in a new issue