From d29dc93a392d89c50804bad309ff29b696cff0a8 Mon Sep 17 00:00:00 2001 From: Tom Johnson Date: Wed, 13 May 2015 12:29:10 -0700 Subject: [PATCH] fixing script location for parent highlighting in navbar --- _includes/sidebar.html | 2 ++ js/customscripts.js | 4 ---- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/_includes/sidebar.html b/_includes/sidebar.html index 4d866fa..c784b3f 100644 --- a/_includes/sidebar.html +++ b/_includes/sidebar.html @@ -99,3 +99,5 @@ {% endif %} + + \ No newline at end of file diff --git a/js/customscripts.js b/js/customscripts.js index e5aa18c..5c655bf 100644 --- a/js/customscripts.js +++ b/js/customscripts.js @@ -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.