Commit 2ea4480f by doszhang

dos

parent 86657bc8
...@@ -137,7 +137,7 @@ $(document).ready(function () { ...@@ -137,7 +137,7 @@ $(document).ready(function () {
//滚动条 //滚动条
$('.rule-block').on('scroll', ruleScroll); $('.rule-block').on('scroll', ruleScroll);
$(".question-block").on("touchstart", function (e) { $(".question-page .bg").on("touchstart", function (e) {
// 判断默认行为是否可以被禁用 // 判断默认行为是否可以被禁用
if (e.cancelable) { if (e.cancelable) {
// 判断默认行为是否已经被禁用 // 判断默认行为是否已经被禁用
...@@ -148,7 +148,7 @@ $(document).ready(function () { ...@@ -148,7 +148,7 @@ $(document).ready(function () {
startX = e.originalEvent.changedTouches[0].pageX, startX = e.originalEvent.changedTouches[0].pageX,
startY = e.originalEvent.changedTouches[0].pageY; startY = e.originalEvent.changedTouches[0].pageY;
}); });
$(".question-block").on("touchend", function (e) { $(".question-page .bg").on("touchend", function (e) {
// 判断默认行为是否可以被禁用 // 判断默认行为是否可以被禁用
if (e.cancelable) { if (e.cancelable) {
// 判断默认行为是否已经被禁用 // 判断默认行为是否已经被禁用
......
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