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
1 changed files with 1 additions and 1 deletions

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;