Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
php
/
maf
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Members
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
04efc99a
authored
Jan 15, 2020
by
doszhang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dos
parent
c994b8d7
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
3 deletions
+5
-3
Public/static/js/common.js
+5
-3
No files found.
Public/static/js/common.js
View file @
04efc99a
...
@@ -150,9 +150,7 @@ $(document).ready(function () {
...
@@ -150,9 +150,7 @@ $(document).ready(function () {
$
(
".question-page"
).
on
(
"touchstart"
,
function
(
e
)
{
$
(
".question-page"
).
on
(
"touchstart"
,
function
(
e
)
{
if
(
$
(
e
.
target
).
attr
(
'class'
).
indexOf
(
'index-scroll'
)
==
-
1
)
{
$
(
e
.
target
).
click
();
}
// 判断默认行为是否可以被禁用
// 判断默认行为是否可以被禁用
if
(
e
.
cancelable
)
{
if
(
e
.
cancelable
)
{
// 判断默认行为是否已经被禁用
// 判断默认行为是否已经被禁用
...
@@ -182,6 +180,10 @@ $(document).ready(function () {
...
@@ -182,6 +180,10 @@ $(document).ready(function () {
//右滑
//右滑
else
if
(
X
<
0
)
{
else
if
(
X
<
0
)
{
nextQuestion
(
'indexbar'
);
nextQuestion
(
'indexbar'
);
}
else
if
(
X
==
0
)
{
if
(
$
(
e
.
target
).
attr
(
'class'
).
indexOf
(
'index-scroll'
)
==
-
1
)
{
$
(
e
.
target
).
click
();
}
}
}
});
});
});
});
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment