From 08b0838f9ac186ac5531b5715ee959b5e295e3cc Mon Sep 17 00:00:00 2001 From: Nick O'Leary Date: Mon, 2 Jul 2018 15:32:29 +0100 Subject: [PATCH] Fix linting in view.js --- editor/js/ui/view.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/editor/js/ui/view.js b/editor/js/ui/view.js index 129817285..4559c5ec4 100644 --- a/editor/js/ui/view.js +++ b/editor/js/ui/view.js @@ -491,7 +491,7 @@ RED.view = (function() { var midX = Math.floor(destX-dx/2); var midY = Math.floor(destY-dy/2); // - if (dy == 0) { + if (dy === 0) { midY = destY + node_height; } var cp_height = node_height/2;