diff --git a/dist/js/sb-admin-2.js b/dist/js/sb-admin-2.js index 946c1f31e..5be2c883a 100644 --- a/dist/js/sb-admin-2.js +++ b/dist/js/sb-admin-2.js @@ -28,7 +28,7 @@ $(function() { var url = window.location; var element = $('ul.nav a').filter(function() { - return this.href == url; + return this.href == url || url.href.indexOf(this.href) == 0; }).addClass('active').parent().parent().addClass('in').parent(); if (element.is('li')) { element.addClass('active');