Skip to content

Commit

Permalink
Touchend does not have targetTouches.
Browse files Browse the repository at this point in the history
  • Loading branch information
ivmartel committed May 7, 2013
1 parent f3c0829 commit b4e6dd9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/application.js
Original file line number Diff line number Diff line change
Expand Up @@ -267,7 +267,6 @@ dwv.App = function(mobile)
if( mobile )
{
if( event.type === "touchstart"
|| event.type === "touchend"
|| event.type === "touchmove")
{
event.preventDefault();
Expand All @@ -293,6 +292,7 @@ dwv.App = function(mobile)
handled = true;
}
}
else if( event.type === "touchend" ) handled = true;
}
else
{
Expand Down

0 comments on commit b4e6dd9

Please sign in to comment.