fix handling of empty hashstr
This commit is contained in:
parent
95e7c461f4
commit
b79c338d2c
|
@ -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);
|
||||||
});
|
});
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue