Skip to content
Snippets Groups Projects
Unverified Commit 62a8c452 authored by Rich M's avatar Rich M Committed by GitHub
Browse files

Merge pull request #15 from SebouChu/master

Fix draggable during mobile scrolling
parents defa1499 c1817d44
No related branches found
No related tags found
No related merge requests found
/*!
* jQuery UI Touch Punch 1.0.6 as modified by RWAP Software
* jQuery UI Touch Punch 1.0.7 as modified by RWAP Software
* based on original touchpunch v0.2.3 which has not been updated since 2014
*
* Updates by RWAP Software to take account of various suggested changes on the original code issues
......@@ -69,7 +69,10 @@
return;
}
// Prevent "Ignored attempt to cancel a touchmove event with cancelable=false" errors
if (event.cancelable) {
event.preventDefault();
}
var touch = event.originalEvent.changedTouches[0],
simulatedEvent = document.createEvent('MouseEvents');
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment