diff options
| author | garbash <dor.garbash@gmail.com> | 2014-08-17 13:03:34 +0300 |
|---|---|---|
| committer | garbash <dor.garbash@gmail.com> | 2014-08-17 13:03:34 +0300 |
| commit | bd7313e6b0bb64b2eeb2ce46cbb1949dd0af977a (patch) | |
| tree | cf4c8ecab4bc5443ed635770ecd073a360c21b2a /scripts/rhizicore.js | |
| parent | 72fbcd4787de95187ed574d492cb4774e1e68d1a (diff) | |
Display more chars of node titles on default
Diffstat (limited to 'scripts/rhizicore.js')
| -rw-r--r-- | scripts/rhizicore.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/rhizicore.js b/scripts/rhizicore.js index 5c286cd6..c04fec10 100644 --- a/scripts/rhizicore.js +++ b/scripts/rhizicore.js @@ -485,8 +485,8 @@ function myGraph(el) { else if (d.state === "chosen") { return d.id; } else { - if (d.id.length < 14) return d.id; - else return d.id.substring(0, 11) + "..."; + if (d.id.length < 25) return d.id; + else return d.id.substring(0, 25) + "..."; } }) .on("click", function(d, i) { |
