fix handling of empty hashstr

alfred-data
Nils Schneider 2012-06-04 18:25:58 +02:00
parent 95e7c461f4
commit b79c338d2c
1 changed files with 3 additions and 1 deletions

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);
}); });
} }