Commit 2e81f0cf authored by ibuler's avatar ibuler

fix nav active bug

parent c4b099d2
...@@ -34,8 +34,8 @@ ...@@ -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>
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment