summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'scripts')
-rw-r--r--scripts/rhizicore.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/rhizicore.js b/scripts/rhizicore.js
index 6937201c..9a7c518f 100644
--- a/scripts/rhizicore.js
+++ b/scripts/rhizicore.js
@@ -425,7 +425,7 @@ function myGraph(el) {
.text(function(d) {
if ( d.name && d.target.state === "temp" || d.source.state === "chosen" || d.target.state === "chosen") {
- if (d.name.length < 25) {
+ if (d.name.length < 25 || d.source.state === "chosen" || d.target.state === "chosen") {
return d.name;
} else {
return d.name.substring(0, 14) + "...";