mirror of
https://github.com/billz/raspap-webgui.git
synced 2025-03-01 10:31:47 +00:00
Update .sb-nav* .sb-sidenav* .sb-topnav* classes
This commit is contained in:
@@ -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');
|
||||
});
|
||||
|
Reference in New Issue
Block a user