diff --git a/pages/draw_image.html b/pages/draw_image.html index 20844a28..f724d110 100644 --- a/pages/draw_image.html +++ b/pages/draw_image.html @@ -207,8 +207,8 @@

Extra

// DRAWING EVENT HANDLERS - canvas.addEventListener('mousedown', function() {mousedown(canvas, event);}); - canvas.addEventListener('mousemove',function() {mousemove(canvas, event);}); + canvas.addEventListener('mousedown', function(event) {mousedown(canvas, event);}); + canvas.addEventListener('mousemove',function(event) {mousemove(canvas, event);}); canvas.addEventListener('mouseup',mouseup); // CREATE CANVAS @@ -339,4 +339,4 @@

Extra

isMouseDown=false store() } - \ No newline at end of file +