diff options
| -rw-r--r-- | src/client/model/graph.js | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/client/model/graph.js b/src/client/model/graph.js index 609c846c..c3e5209b 100644 --- a/src/client/model/graph.js +++ b/src/client/model/graph.js @@ -610,7 +610,8 @@ function Graph() { this.findCoordinates = function(id) { var n = find_node__by_id(id); - if ((index !== undefined)) { + + if (n !== undefined) { $('.typeselection').css('top', n.y - 90); $('.typeselection').css('left', n.x - 230); } |
