I have a scrollable list on a mobile device. They want people to be able to scroll the list via swiping, and also select a row by tapping.
The catch is combining th
var touchmoved; $('button').on('touchend', function(e){ if(touchmoved != true){ // button click action } }).on('touchmove', function(e){ touchmoved = true; }).on('touchstart', function(){ touchmoved = false; });