broadfield-dev commited on
Commit
1ad8bd9
·
verified ·
1 Parent(s): b6e900b

Update static/canvas.js

Browse files
Files changed (1) hide show
  1. static/canvas.js +2 -2
static/canvas.js CHANGED
@@ -67,9 +67,9 @@ function addNode() {
67
  stroke: 'black',
68
  strokeWidth: 2
69
  });
70
- layer.add(line);
71
  connections.push({
72
- from: selectedNode.data.id36
73
  to: node.data.id
74
  });
75
  selectedNode = null;
 
67
  stroke: 'black',
68
  strokeWidth: 2
69
  });
70
+ layer.add(line);
71
  connections.push({
72
+ from: selectedNode.data.id,
73
  to: node.data.id
74
  });
75
  selectedNode = null;