fix issue:

onTouchEnd did not call the correct mouse up handler
This commit is contained in:
ethan.li 2013-07-09 11:07:18 +10:00
parent d941cee953
commit 8108009ba7

View File

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