We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 83b02d5 commit 0f925d3Copy full SHA for 0f925d3
web/js/app.js
@@ -263,7 +263,7 @@ d3.xhr(routes.items).get(function (error, XMLHttpRequest) {
263
group.append("svg:text")
264
.attr("class", "nodetext")
265
.text(function (d, i) {
266
- return (d.name.length < 11) ? d.name : d.name.substring(0, 10) + '...';
+ return (d.name.length < 11) ? d.name : d.name.toString().substring(0, 10) + '...';
267
}).style("text-anchor", "middle");
268
269
0 commit comments