Toggle navigation
Toggle navigation
This project
Loading...
Sign in
fe
/
YOHOBUYWAP
·
Commits
Go to a project
GitLab
Go to group
Project
Activity
Files
Commits
Pipelines
0
Builds
0
Graphs
Milestones
Issues
0
Merge Requests
0
Members
Labels
Wiki
Forks
Network
Create a new issue
Download as
Email Patches
Plain Diff
Browse Files
Authored by
xuqi
9 years ago
Commit
294e9f1790f70616a37603b49910455097fa0edb
1 parent
e249d4e7
filter bug
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
5 deletions
static/js/plugin/filter.js
static/js/plugin/filter.js
View file @
294e9f1
...
...
@@ -96,7 +96,7 @@ function initFilter(cb) {
//tap subclassify
$cur
=
$this
.
closest
(
'li'
);
c
lassifyTapEvt
(
$cur
);
subC
lassifyTapEvt
(
$cur
);
}
else
{
//tap classify
...
...
@@ -104,7 +104,7 @@ function initFilter(cb) {
e
.
srcEvent
.
stopPropagation
();
subC
lassifyTapEvt
(
$cur
);
c
lassifyTapEvt
(
$cur
);
}
}
else
{
hideFilter
();
...
...
@@ -116,9 +116,6 @@ function initFilter(cb) {
});
}
//设置完高度后显示sub并设置选中
//T:不在HTML中使用{{#if @first}}active{{/if}}来初始化active为避免sub设置高度时的闪烁
// $filter.find('.classify > :first-child').addClass('active');
exports
.
initFilter
=
initFilter
;
exports
.
showFilter
=
showFilter
;
...
...
Please
register
or
login
to post a comment