I found this solution to the issue on stackoverflow:
http://stackoverflow.com/a/16540688/65985
Would a simple possible fix simply to change it from:
if ( startXPos !== event.pageX || startYPos !== event.pageY ) {
clickDragged = true;
}
to
if ( ( startXPos > event.pageX + 4 || startXPos < event.pageX - 4 )
|| ( startYPos > event.pageY + 4 || startYPos < event.pageY - 4 ) ) {
clickDragged = true;
}
I found this solution to the issue on stackoverflow:
http://stackoverflow.com/a/16540688/65985
Would a simple possible fix simply to change it from:
to