You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@steve.apache.org by hu...@apache.org on 2016/02/08 14:18:08 UTC
svn commit: r1729166 - /steve/trunk/pysteve/www/htdocs/js/steve_stv.js
Author: humbedooh
Date: Mon Feb 8 13:18:07 2016
New Revision: 1729166
URL: http://svn.apache.org/viewvc?rev=1729166&view=rev
Log:
add event for cancel
Modified:
steve/trunk/pysteve/www/htdocs/js/steve_stv.js
Modified: steve/trunk/pysteve/www/htdocs/js/steve_stv.js
URL: http://svn.apache.org/viewvc/steve/trunk/pysteve/www/htdocs/js/steve_stv.js?rev=1729166&r1=1729165&r2=1729166&view=diff
==============================================================================
--- steve/trunk/pysteve/www/htdocs/js/steve_stv.js (original)
+++ steve/trunk/pysteve/www/htdocs/js/steve_stv.js Mon Feb 8 13:18:07 2016
@@ -673,7 +673,8 @@ function touchHandler(event) {
simEvent.initMouseEvent({
touchstart: "mousedown",
touchmove: "mousemove",
- touchend: "mouseup"
+ touchend: "mouseup",
+ touchcancel: "mouseup"
}[event.type], true, true, window, 1,
touch.screenX, touch.screenY,
touch.clientX, touch.clientY, false,