diff --git a/src/signature_pad.js b/src/signature_pad.js index d6c81245..7591cdbc 100644 --- a/src/signature_pad.js +++ b/src/signature_pad.js @@ -43,15 +43,17 @@ var SignaturePad = (function (document) { }; this._handleTouchStart = function (event) { - var touch = event.changedTouches[0]; - self._strokeBegin(touch); + if (event.targetTouches.length == 1) { + var touch = event.changedTouches[0]; + self._strokeBegin(touch); + } }; this._handleTouchMove = function (event) { // Prevent scrolling. event.preventDefault(); - var touch = event.changedTouches[0]; + var touch = event.targetTouches[0]; self._strokeUpdate(touch); };