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
parent 4374f1317e
commit dc9c8f95bc
2 changed files with 4 additions and 2 deletions

View file

@ -218,7 +218,9 @@ $(document).ready(function(){
} }
$(li).addClass("completed"); $(li).addClass("completed");
}); });
if (ol.children(".active").css("display") != "none"){
$('.sidebar.sticky').css("display", "inherit"); $('.sidebar.sticky').css("display", "inherit");
} }
} }
}
}); });

File diff suppressed because one or more lines are too long