summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'scripts')
-rw-r--r--scripts/textanalysis.js2
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");