Do I really need to use touchstart or just click do the job?

57 Views Asked by At

I have something like this in my jquery scripts:

$( document ).on( "click", ".button", function() {

it appears to work fine in all touch devices too, I haven't notice any issue in my test. Do I really need to add touchstart? Like this:

$( document ).on( "click touchstart", ".button", function() {

Or it is irrelevant nowadays?

0

There are 0 best solutions below