diff options
Diffstat (limited to 'src/client/view/graph_view.js')
| -rw-r--r-- | src/client/view/graph_view.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/client/view/graph_view.js b/src/client/view/graph_view.js index 88e01739..94495cab 100644 --- a/src/client/view/graph_view.js +++ b/src/client/view/graph_view.js @@ -476,10 +476,10 @@ function GraphView(spec) { function link_text__short(d) { var name = d.name || ""; - if (temporary || name.length < 25) { + if (temporary || name.length < consts.link_text_short_length + 3) { return name; } - return name.substring(0, 14) + "..."; + return name.substring(0, consts.link_text_short_length) + "..."; } link_text |
