--- a/mouchak/static/js/mouchak.js +++ b/mouchak/static/js/mouchak.js @@ -68,7 +68,7 @@ if(!fragment) { pos = 0; } - $(this.$links[pos]).addClass('active'); + //$(this.$links[pos]).addClass('active'); //$(this.$links[pos]).find('a p.navicon').addClass('active'); }, @@ -129,7 +129,7 @@ // find out where it is in the nav menu var link = $('.nav').find('a[href="#/'+ fragment +'"]')[0]; // find its
  • parent all the way up in the main ul.nav - $(link).closest('ul.nav > li').addClass('active'); + $(link).closest('ul.navbar-right > li').addClass('active'); // custom nav for maraa $(link).find('p.navicon').addClass('active'); }