ngDraggable
ngDraggable copied to clipboard
Cannot read property of touches error
The example.html does not work, I find error in this line that originalEvent is undefined
else if (angular.isDefined(event.originalEvent.touches))
:+1:
@justinmorant I think your PR has broken this are you able to submit a fix?
@fatlinesofcode just submitted a new pull request with a fix for this defect. The code now checking if event.originalEvent is defined as well as event.originalEvent.touches so it does not throw an error.