Working on a website that is also viewable on mobile and need to bind an action on both touchstart and mousedown.
Looks like this
$(\"#roll\").bind
This native solution worked best for me:
touchstart
touch = true
if (touch && e.type === 'mousedown') return;