diff options
| author | Alon Levy <alon@pobox.com> | 2014-11-09 12:53:32 +0200 |
|---|---|---|
| committer | Alon Levy <alon@pobox.com> | 2014-11-09 12:53:34 +0200 |
| commit | 8c783c214af5a95c2976c9811172b646ab4b4bad (patch) | |
| tree | 1cbec73b84e4adff5ab48b7e41de53e0787071db /scripts/model/graph.js | |
| parent | 61a7bfad576a4c469b9785e11c9850f69d77297f (diff) | |
graph: fix #129
autoSuggestAddName should get lower case name, not id (now that id is not lower cased name)
Diffstat (limited to 'scripts/model/graph.js')
| -rw-r--r-- | scripts/model/graph.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/model/graph.js b/scripts/model/graph.js index 4040c821..e5ddab42 100644 --- a/scripts/model/graph.js +++ b/scripts/model/graph.js @@ -498,7 +498,7 @@ function Graph(el) { x: node.x, y: node.y, }); - textanalysis.autoSuggestAddName(node.id); + textanalysis.autoSuggestAddName(node.name.toLowerCase()); } for(i = 0; i < data["links"].length; i++){ link = data.links[i]; |
