Commit 04efc99a by doszhang

dos

parent c994b8d7
......@@ -150,9 +150,7 @@ $(document).ready(function () {
$(".question-page").on("touchstart", function (e) {
if ($(e.target).attr('class').indexOf('index-scroll') == -1) {
$(e.target).click();
}
// 判断默认行为是否可以被禁用
if (e.cancelable) {
// 判断默认行为是否已经被禁用
......@@ -182,6 +180,10 @@ $(document).ready(function () {
//右滑
else if (X < 0) {
nextQuestion('indexbar');
} else if (X == 0) {
if ($(e.target).attr('class').indexOf('index-scroll') == -1) {
$(e.target).click();
}
}
});
});
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment