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,7 +232,9 @@ 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 + ")"; });
}); });
show_node(hashstr);
if (hashstr.length != 0)
show_node(hashstr);
}); });
} }