Listen for the 'click' event, and preventDefault. Set a timer looking for a
double click to be fired. If it doesnt get fired, then call
.fireEvent('click', e);



On Wed, Jun 22, 2011 at 5:06 PM, Brandon <[email protected]> wrote:

> @Sean,
>
> Do I need to delay the single click event? I'm using this for a simple
> web app and the elements I plan on using the double tap event for
> won't have a single click event. They'll be draggable (mousedown,up/
> touchstart,end) and provide some brief info with a double tap. How
> would I go about canceling or delaying the single click event?
>
> @Piotr,
> Thanks for the info regarding doubleclick in FF Mobile and Android.

Reply via email to