How to bind ‘touchstart’ and ‘click’ events but not respond to both?

I’m working on a mobile web site that has to work on a variety of devices. The ones giving me a headache at the moment are BlackBerry. We need to support both keyboard clicks as well as touch events. Ideally I’d just use: $thing.click(function(){…}) but the issue we’re running into is that some of these … Read more