From bd7313e6b0bb64b2eeb2ce46cbb1949dd0af977a Mon Sep 17 00:00:00 2001 From: garbash Date: Sun, 17 Aug 2014 13:03:34 +0300 Subject: Display more chars of node titles on default --- scripts/rhizicore.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'scripts/rhizicore.js') 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) { -- cgit v1.3.1