A CodePen by Andy Baudoin. Set Event Variable with Modernizr - Use Modernizr.touch to detect touch enabled devices and set a variable as the correct tap/click event for jQuery. This automatically cuts the 300ms delay on touch devices using the "click" event.