Skip to content

Instantly share code, notes, and snippets.

View mmorton's full-sized avatar

Mara Morton mmorton

View GitHub Profile
if (/android/i.test(navigator.userAgent))
{
/*
* there is an issue with click "bleed through" on absolutely positioned elements on
* android devices which is why we need to go though the trouble of preventing the actual
* click event.
* see: http://code.google.com/p/android/issues/detail?id=6721
*/
var prevent = false;