When a visitor clicks on an image the click
event will be triggered. However when someone touches the image, that same click
event will be triggered, even if a touchstart
event is available as well.
I like a different behavior for an actual click (mouse) event and a touch event. The strange thing is, even a mouseup
event is triggered when used on a smartphone. Is there anyway you can separate the mouse from the touch events?