diff options
| author | Alon Levy <alon@pobox.com> | 2014-11-11 13:22:29 +0200 |
|---|---|---|
| committer | Alon Levy <alon@pobox.com> | 2014-11-11 13:22:41 +0200 |
| commit | cc3d3c2ad04ab84a2d1065e61e1eb0f1cbb6ecd8 (patch) | |
| tree | 8be9d53eb2c201c32c2ed446e97b67a740c29b7d | |
| parent | ba92febfa94154936cd09ed139733a44c8719959 (diff) | |
new node type for link last entry should be selectedType; Fixes #130
| -rw-r--r-- | scripts/textanalysis.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/textanalysis.js b/scripts/textanalysis.js index cc1f2602..d9c77c06 100644 --- a/scripts/textanalysis.js +++ b/scripts/textanalysis.js @@ -331,7 +331,7 @@ var textAnalyser = function (newtext, finalize) { break; case LINK: linkindex++; - addNode("new node", "empty", "temp"); + addNode("new node", selectedType(), "temp"); if (!starGraph) { addLink(newnodes[nodeindex - 1], "new node", newlinks[linkindex], "temp"); and_connect("new node"); |
