I’ve got a click event not firing on iOS on click $('html, body')
so want to implement touchstart
as well. I don’t want the event firing twice though. Is there anyway to do something like $element.on('click|touchstart')
where it tries click
first and if it doesn’t fire does touchstart
instead?