Toggle navigation
Toggle navigation
This project
Loading...
Sign in
fe
/
yoho-blk
·
Commits
Go to a project
GitLab
Go to group
Project
Activity
Files
Commits
Pipelines
0
Builds
0
Graphs
Milestones
Issues
0
Merge Requests
1
Members
Labels
Wiki
Forks
Network
Create a new issue
Download as
Email Patches
Plain Diff
Browse Files
Authored by
zhangxiaoru
9 years ago
Commit
cbb96b9d670ff80bc0f5b0d75f5d659849027540
1 parent
783e514f
brand
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
9 deletions
public/js/brand/index.page.js
public/js/brand/index.page.js
View file @
cbb96b9
...
...
@@ -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());
}
})
})
;
...
...
Please
register
or
login
to post a comment