fixing script location for parent highlighting in navbar
This commit is contained in:
@ -15,14 +15,10 @@ $( document ).ready(function() {
|
||||
{% endif %}
|
||||
|
||||
// activate tooltips. although this is a bootstrap js function, it must be activated this way in your theme.
|
||||
|
||||
$('[data-toggle="tooltip"]').tooltip({
|
||||
placement : 'top'
|
||||
});
|
||||
|
||||
// this highlights the active parent class in the navgoco sidebar. this is critical so that the parent expands when you're viewing a page.
|
||||
$("li.active").parents('li').toggleClass("active");
|
||||
|
||||
});
|
||||
|
||||
// needed for nav tabs on pages. See Formatting > Nav tabs for more details.
|
||||
|
Reference in New Issue
Block a user