fixing script location for parent highlighting in navbar
This commit is contained in:
parent
ab51a49622
commit
d29dc93a39
@ -99,3 +99,5 @@
|
||||
{% endif %}
|
||||
</div>
|
||||
|
||||
<!-- this highlights the active parent class in the navgoco sidebar. this is critical so that the parent expands when you're viewing a page. This must appear below the sidebar code above.-->
|
||||
<script>$("li.active").parents('li').toggleClass("active");</script>
|
@ -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.
|
||||
|
Loading…
x
Reference in New Issue
Block a user