Commit ce5643a5 by doszhang

dos

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