Update .sb-nav* .sb-sidenav* .sb-topnav* classes

This commit is contained in:
billz
2024-10-24 00:15:27 -07:00
parent 3f8dea4053
commit 4860b237a1
3 changed files with 20 additions and 3 deletions

View File

@@ -858,7 +858,7 @@ $(window).on("load resize",function(e) {
// Adds active class to current nav-item
$(window).bind("load", function() {
var url = window.location;
$('ul.navbar-nav a').filter(function() {
$('.sb-nav-link-icon a').filter(function() {
return this.href == url;
}).parent().addClass('active');
});