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:
Plailect 2017-09-30 17:03:56 -04:00 committed by Plailect
parent 093ed8fade
commit 6d6db2707d
No known key found for this signature in database
GPG key ID: F8A415C5EA602A41
2 changed files with 4 additions and 2 deletions

View file

@ -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");
}
}
}
});

File diff suppressed because one or more lines are too long