From 88a97318f7040938cbec36f24b9e0cb73ad8eb71 Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Mon, 4 Jun 2018 07:15:52 +0200 Subject: [PATCH] editor: remove undeclared var assignement (#308) --- src/browser/js/app/editor/index.js | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/browser/js/app/editor/index.js b/src/browser/js/app/editor/index.js index 24a192c7..41dffbda 100644 --- a/src/browser/js/app/editor/index.js +++ b/src/browser/js/app/editor/index.js @@ -231,9 +231,6 @@ var Editor = class Editor { $container.resizable({ handles: 's, e, se', helper: 'ui-helper', - start: (event, ui)=>{ - handleTarget = $(event.originalEvent.target) - }, resize: (event, ui)=>{ ui.size.height = Math.round(ui.size.height / (GRIDWIDTH * PXSCALE)) * GRIDWIDTH * PXSCALE ui.size.width = Math.round(ui.size.width / (GRIDWIDTH * PXSCALE)) * GRIDWIDTH * PXSCALE