From b4b2cbf761c65651b263ccf62ba5504551603e3a Mon Sep 17 00:00:00 2001 From: oc Date: Thu, 1 Nov 2018 21:19:43 +0800 Subject: [PATCH] touchend --- main.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/main.js b/main.js index f994fcd0..45ccd438 100644 --- a/main.js +++ b/main.js @@ -381,8 +381,9 @@ main.dom.data.ontouchmove = function (e) { } ////// 手指离开触摸屏时 ////// -main.dom.data.ontouchend = function () { +main.dom.data.ontouchend = function (e) { try { + e.preventDefault(); main.core.onup(); } catch (e) { }