1
0
mirror of https://github.com/node-red/node-red.git synced 2023-10-10 13:36:53 +02:00

Fix linting in view.js

This commit is contained in:
Nick O'Leary 2018-07-02 15:32:29 +01:00
parent 038d821a7c
commit 08b0838f9a
No known key found for this signature in database
GPG Key ID: 4F2157149161A6C9

View File

@ -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;