for fix I made to onTouchEnd:

1. remove IE8 related code as it does not support touch anyway
2. use event.changedTouches [ 0 ] rather than event
This commit is contained in:
ethan.li 2013-07-12 10:29:44 +10:00
parent 8108009ba7
commit 0ef98be0b7

View File

@ -790,12 +790,7 @@
THIS[ tracker.hash ].lastTouch = null;
if ($.Browser.vendor == $.BROWSERS.IE && $.Browser.version < 9) {
onMouseUpIE(tracker, event);
} else {
onMouseUpWindow(tracker, event);
}
onMouseUpWindow( tracker, event.changedTouches[ 0 ] );
onMouseOut( tracker, event.changedTouches[ 0 ] );
}
if( event.touches.length + event.changedTouches.length == 2 ){