mirror of https://github.com/node-red/node-red.git
Fix linting in view.js
parent
038d821a7c
commit
08b0838f9a
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue