We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d5fcdb7 commit be0bc42Copy full SHA for be0bc42
dist/js/sb-admin-2.js
@@ -28,7 +28,7 @@ $(function() {
28
29
var url = window.location;
30
var element = $('ul.nav a').filter(function() {
31
- return this.href == url;
+ return this.href == url || url.href.indexOf(this.href) == 0;
32
}).addClass('active').parent().parent().addClass('in').parent();
33
if (element.is('li')) {
34
element.addClass('active');
0 commit comments