fix handling of empty hashstr

This commit is contained in:
Nils Schneider 2012-06-04 18:25:58 +02:00
parent 95e7c461f4
commit b79c338d2c

View file

@ -232,6 +232,8 @@ function render_graph(type) {
node.attr("transform", function(d) { return "translate(" + d.x + "," + d.y + ")"; }); node.attr("transform", function(d) { return "translate(" + d.x + "," + d.y + ")"; });
}); });
if (hashstr.length != 0)
show_node(hashstr); show_node(hashstr);
}); });