Commit c5ffca37 by Touch it

Fix Touch events selection in dragMove method

Help make drag methods works for both touch and mouse events.
parent f6ec7e8e
This source diff could not be displayed because it is too large. You can view the blob instead.
......@@ -2771,7 +2771,7 @@
j = drag.length;
while (j--) {
dragi = drag[j];
if (supportsTouch) {
if (supportsTouch && e.touches) {
var i = e.touches.length,
touch;
while (i--) {
......
......@@ -3150,7 +3150,7 @@
j = drag.length;
while (j--) {
dragi = drag[j];
if (supportsTouch) {
if (supportsTouch && e.touches) {
var i = e.touches.length,
touch;
while (i--) {
......
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