From 45368fbbc0c90daf28e40f028b5156bd6dbd6616 Mon Sep 17 00:00:00 2001 From: garbash Date: Sun, 17 Aug 2014 13:16:48 +0300 Subject: Fixed node title shorten function --- scripts/rhizicore.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/rhizicore.js b/scripts/rhizicore.js index c04fec10..85d23a52 100644 --- a/scripts/rhizicore.js +++ b/scripts/rhizicore.js @@ -485,7 +485,7 @@ function myGraph(el) { else if (d.state === "chosen") { return d.id; } else { - if (d.id.length < 25) return d.id; + if (d.id.length < 28) return d.id; else return d.id.substring(0, 25) + "..."; } }) -- cgit v1.3.1