Don't treat right/middle clicks as taps.

This commit is contained in:
Scott González 2010-09-22 10:47:15 -04:00
parent 641aa54c11
commit cdac24a168

View file

@ -56,6 +56,10 @@ $.event.special.tap = {
$this
.bind( touchStartEvent, function( event ) {
if ( event.which && event.which !== 1 ) {
return;
}
var held = false,
moved = false,
touching = true,