fix nav active bug

pull/26/head
ibuler 2015-12-15 14:48:37 +08:00
parent c4b099d2a5
commit 2e81f0cf95
1 changed files with 2 additions and 2 deletions

View File

@ -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>