Skip to content

Commit

Permalink
some small improvements
Browse files Browse the repository at this point in the history
  • Loading branch information
HextoryWorld committed Dec 30, 2012
1 parent 31a99ab commit f191071
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions assets/js/script.js
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,9 @@ jQuery(function(){
case "touchend":
type = "mouseup";
break;
case "touchcancel":
type = "mouseup";
break;
default:
return;
}
Expand All @@ -110,10 +113,6 @@ jQuery(function(){
event.preventDefault();
}

canvas.on('click', function(e){
e.preventDefault();
});

canvas.on('mousedown', function(e){
e.preventDefault();
drawing = true;
Expand Down

0 comments on commit f191071

Please sign in to comment.