remove forbidden scroll

master
Tayl0r 7 years ago
parent 4ab416e7fe
commit c4353dbae1

@ -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;

Loading…
Cancel
Save