From c4353dbae165c282f14a9afe0a82c0c432a2a7e4 Mon Sep 17 00:00:00 2001 From: Tayl0r <519104047@qq.com> Date: Tue, 26 Dec 2017 14:39:20 +0800 Subject: [PATCH] remove forbidden scroll --- src/main/ui/static/templates/payment/v1/payment.js | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/main/ui/static/templates/payment/v1/payment.js b/src/main/ui/static/templates/payment/v1/payment.js index 70eded243..b017686be 100644 --- a/src/main/ui/static/templates/payment/v1/payment.js +++ b/src/main/ui/static/templates/payment/v1/payment.js @@ -4,11 +4,11 @@ $(function () { 'use strict'; - document.querySelector('body').addEventListener('touchmove', function(e) { - if (!document.querySelector('.coupons').contains(e.target)) { - e.preventDefault(); - } - }); + // document.querySelector('body').addEventListener('touchmove', function(e) { + // if (!document.querySelector('.coupons').contains(e.target)) { + // e.preventDefault(); + // } + // }); var dataCache = {price: '0', coupons: [], coupon_groups: {}}; var exchangeRate = 'CNY' == window.currency ? 1 : parseFloat(window.exchange_rate); dataCache.paying = false;