diff options
| author | Owen <despito@MacBook-Pro-de-Despito.local> | 2014-08-08 16:39:04 +0300 |
|---|---|---|
| committer | Owen <despito@MacBook-Pro-de-Despito.local> | 2014-08-08 16:39:04 +0300 |
| commit | 372dacae3736e79799f3171ca2d06c0d8accabb9 (patch) | |
| tree | 32ac84aa5265031fde7d0ef59aacb5569afed79c /scripts | |
| parent | b664c220bbd6ae41f96e31fe575d059798594feb (diff) | |
Fixed disappearing node problem
Diffstat (limited to 'scripts')
| -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 0c3028e5..d11f42cd 100644 --- a/scripts/rhizicore.js +++ b/scripts/rhizicore.js @@ -424,7 +424,7 @@ function myGraph(el) { .attr("text-anchor", "middle") .text(function(d) { - if ( d.name && d.target.state === "temp" || d.source.state === "chosen" || d.target.state === "chosen") { + 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") { return d.name; } else { |
