diff options
| author | Owen <despito@MacBook-Pro-de-Despito.local> | 2014-08-07 16:32:19 +0300 |
|---|---|---|
| committer | Owen <despito@MacBook-Pro-de-Despito.local> | 2014-08-07 16:32:19 +0300 |
| commit | 9a2f502c5f2337c5b03f11a9e7bd0a421798430e (patch) | |
| tree | 13dded88acbd0645871269faea443236129acbed | |
| parent | 138fc3695eae4cb8f6649f0dfaad06b09b2ca01e (diff) | |
Issue 21
| -rw-r--r-- | scripts/rhizicore.js | 2 |
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) + "..."; |
