I'm using regular jQuery and I have an event handler that looks like this:
$('#someID').on({
click: SomeFunction
}, '.SomeClass');
This will produce a 300ms delay on the click event and I'm looking to remove this delay. What's the difference between rewriting this code like that:
$('#someID').on({
'touchstart': SomeFunction
}, '.SomeClass');
and using an external library like Fastclick.js?