Skip to content

Commit

Permalink
Add preventDefault line that did not commit
Browse files Browse the repository at this point in the history
  • Loading branch information
MadLittleMods committed Apr 22, 2015
1 parent b3a056f commit da2dbdf
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions demos/js/common/demo.js
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit da2dbdf

Please sign in to comment.