Corrected example of handling both touchend
and click
, with additional e.preventDefault()
to suppress compatibility mouse events and double firing of events.
Additional dummy link to test certain events only firing once another element receives focus.