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
郝肖肖
8 years ago
Commit
ea81412b0de63d979132b96435fb5bf0cac2de13
1 parent
e1ed9e3a
修复iphone下穿透问题
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletions
static/js/plugin/filter.js
static/js/plugin/filter.js
View file @
ea81412
...
...
@@ -135,7 +135,9 @@ function initFilter(opt) {
filterHammer
.
on
(
'tap'
,
function
(
e
)
{
var
$this
=
$
(
e
.
target
),
$cur
;
// e.preventDefault();//防止透点
//这行不能注释,iphone下会出现穿透
e
.
preventDefault
();
//防止透点
if
(
$this
.
closest
(
'.filter-body'
).
length
>
0
)
{
$cur
=
$this
.
closest
(
'.sub-item'
);
...
...
Please
register
or
login
to post a comment