From da2dbdf08c5806779e6a9bd85c305b6728ab8aec Mon Sep 17 00:00:00 2001 From: Eric Eastwood Date: Wed, 22 Apr 2015 11:36:43 -0500 Subject: [PATCH] Add preventDefault line that did not commit --- demos/js/common/demo.js | 1 + 1 file changed, 1 insertion(+) diff --git a/demos/js/common/demo.js b/demos/js/common/demo.js index f3fe900..0c52e34 100644 --- a/demos/js/common/demo.js +++ b/demos/js/common/demo.js @@ -564,6 +564,7 @@ function createDraggablePoint(offset, startingPos, size, el, cb) { // Stop the scrolling on a mobile device // when we are dragging a point on the canvas if(isDragging) { + e.preventDefault(); } }; $(el).on('mousemove', mouseMoveHandler);