Authored by zhangxiaoru

brand

... ... @@ -46,18 +46,13 @@ $category.click(function() {
return false;
});
//console.log($('dd').find('li').length)
$('.brand-tabs').each(function() {
var tab;
if($(this).find('li').length === 0) {
var tab = $(this).siblings('dt').text();
if ($(this).find('li').length === 0) {
tab = $(this).siblings('dt').text();
$(this).parent('dl').hide();
$('.category-nav').find('.' + tab).hide();
//console.log($(this).siblings('dt').text());
}
})
});
... ...