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,


Reply via email to