From 96362b20b1e0c697431d5ff8dfd37f2c085941b4 Mon Sep 17 00:00:00 2001 From: yflory Date: Thu, 4 Feb 2021 18:16:48 +0100 Subject: [PATCH] lint compliance --- www/whiteboard/inner.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/www/whiteboard/inner.js b/www/whiteboard/inner.js index 3fbd097e8..5de1f1eb1 100644 --- a/www/whiteboard/inner.js +++ b/www/whiteboard/inner.js @@ -53,7 +53,6 @@ define([ var $type = $('.cp-whiteboard-type'); var $brush = $('.cp-whiteboard-type .brush'); var $move = $('.cp-whiteboard-type .move'); - var $history = $('.cp-whiteboard-history'); var $undo = $('.cp-whiteboard-history .undo'); var $redo = $('.cp-whiteboard-history .redo'); var $text = $('.cp-whiteboard-text button'); @@ -143,7 +142,7 @@ define([ $text.click(function () { $move.click(); - canvas.add(new fabric.Textbox('My Text', { + canvas.add(new Fabric.Textbox('My Text', { fill: brush.color, top: 5, left: 5