From 55221f846ecede219532a09aa6d0d448fe216869 Mon Sep 17 00:00:00 2001 From: raphael Date: Fri, 11 Jan 2019 13:20:58 +0100 Subject: [PATCH] rf whiteboard --- public/js/whiteboard.js | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/public/js/whiteboard.js b/public/js/whiteboard.js index e6d817d..6b03cef 100644 --- a/public/js/whiteboard.js +++ b/public/js/whiteboard.js @@ -57,9 +57,13 @@ var whiteboard = { _this.mouseOverlay = $('
'); - - - $(whiteboardContainer).append(_this.backgroundGrid).append(_this.imgContainer).append(_this.canvasElement).append(_this.svgContainer).append(_this.dropIndicator).append(_this.cursorContainer).append(this.mouseOverlay); + $(whiteboardContainer).append(_this.backgroundGrid) + .append(_this.imgContainer) + .append(_this.canvasElement) + .append(_this.svgContainer) + .append(_this.dropIndicator) + .append(_this.cursorContainer) + .append(_this.mouseOverlay); this.canvas = $("#whiteboardCanvas")[0]; this.canvas.height = _this.settings.canvasHeight; this.canvas.width = _this.settings.canvasWidth;