Unified and transparent pointer events in jQuery
问题 I have a bootstrap .btn that I want to toggle with the mouse click. The problem is that the response is way too slow on tablets, since the click arrives 300 ms after the touchstart in mobile browsers. I tried binding the logic in the touchstart event, effectively breaking the app for desktop browsers where there is no touchstart . I then thought of binding the same logic also to click but then I get a repeated event in mobile browsers. I've juggling around, trying to unbind from click the