diff options
| author | Owen <despito@MacBook-Pro-de-Despito.local> | 2014-08-10 13:35:37 +0300 |
|---|---|---|
| committer | Owen <despito@MacBook-Pro-de-Despito.local> | 2014-08-10 13:35:37 +0300 |
| commit | e62120bfd42b9f3a80e36474f3d7a28448b75141 (patch) | |
| tree | 1fefb8a2af65ec6e73577c86dc0709d470c1c677 | |
| parent | 97052f11ef6ea642b0146f7dc7854d0c6356732c (diff) | |
Issue #29
| -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 d85e9bf3..facd9712 100644 --- a/scripts/rhizicore.js +++ b/scripts/rhizicore.js @@ -425,7 +425,7 @@ function myGraph(el) { .text(function(d) { if ( d.name)if(d.target.state === "temp" || d.source.state === "chosen" || d.target.state === "chosen") { - if (d.name.length < 25 || d.source.state === "chosen" || d.target.state === "chosen") { + if (d.name.length < 25 || d.source.state === "chosen" || d.target.state === "chosen" || d.state==="temp") { return d.name; } else { return d.name.substring(0, 14) + "..."; |
