Skip to content
Snippets Groups Projects
Commit 76ef6da0 authored by David Miller's avatar David Miller
Browse files

Merge pull request #80 from pmichna/gh-pages

remove wrong checking of active link in sidebar
parents b9b4738f f509833d
No related branches found
No related tags found
No related merge requests found
......@@ -28,7 +28,7 @@ $(function() {
var url = window.location;
var element = $('ul.nav a').filter(function() {
return this.href == url || url.href.indexOf(this.href) == 0;
return this.href == url;
}).addClass('active').parent().parent().addClass('in').parent();
if (element.is('li')) {
element.addClass('active');
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment