ftlabs/fastclick — pull request #46 by imaffett (2012-12-18 13:26:44+00:00)
Title: iOS alert/confirm bug fix

This provides a fix for the iOS alert/confirm bug where touchstart is dispatched when dismissing the alert/confirm box. What the fix does is checks how long the "click" event takes to process since alert/confirm are blocking, and if it's over 200ms, it sets a flag to skip the next touchend event so we do not send another synthetic click.

This isn't 100% perfect as synchronous ajax requests are also blocking.