mirror of https://github.com/jumpserver/jumpserver
fix nav active bug
parent
c4b099d2a5
commit
2e81f0cf95
|
@ -34,8 +34,8 @@
|
||||||
if (s1 == ''){
|
if (s1 == ''){
|
||||||
$('#index').addClass('active')
|
$('#index').addClass('active')
|
||||||
} else {
|
} else {
|
||||||
//$("#"+s1).addClass('active');
|
$("#"+s1).addClass('active');
|
||||||
//$('#'+s1+' .'+s2).addClass('active');
|
$('#'+s1+' .'+s2).addClass('active');
|
||||||
console.log(s1)
|
console.log(s1)
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
|
|
Loading…
Reference in New Issue