diff --git a/js/controller/DrawingController.js b/js/controller/DrawingController.js index 7aeeb7e3..7e300f26 100644 --- a/js/controller/DrawingController.js +++ b/js/controller/DrawingController.js @@ -60,7 +60,7 @@ body.mouseup($.proxy(this.onMouseup_, this)); // Deactivate right click: - this.container.contextmenu(this.onCanvasContextMenu_); + body.contextmenu(this.onCanvasContextMenu_); }; /**