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