dantipa/toe.js — pull request #17 by zawaideh (2013-11-15 22:42:25+00:00)
Title: added killing of mouse events when doing a tap

I added code that handles suppressing of click events when a tap is registered. This is necessary when you have two overlapping elements that have tap/click actions bound to them, let's say a dialog box that's over an input.

What happens in toe.js when dismissing the dialog with a tap, the dialog disappears, but the browser still fires a click event 300ms later. This ends up focusing on the input element below.