From ecd1d294c701aa445722a9f0e32d0fbf69a47273 Mon Sep 17 00:00:00 2001 From: raphael Date: Mon, 14 Jan 2019 14:11:05 +0100 Subject: [PATCH] fix x press bug on draged in images --- public/js/whiteboard.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/public/js/whiteboard.js b/public/js/whiteboard.js index d357a7f..b60385c 100644 --- a/public/js/whiteboard.js +++ b/public/js/whiteboard.js @@ -500,7 +500,7 @@ var whiteboard = { ''); imgDiv.find(".xCanvasBtn").click(function () { _this.imgDragActive = false; - this.refreshCursorAppearance(); + _this.refreshCursorAppearance(); imgDiv.remove(); if(wasTextTool) { _this.setTool("text");