aboutsummaryrefslogtreecommitdiffstats
path: root/html
diff options
context:
space:
mode:
Diffstat (limited to 'html')
-rw-r--r--html/js/git-deps-graph.js7
1 files changed, 4 insertions, 3 deletions
diff --git a/html/js/git-deps-graph.js b/html/js/git-deps-graph.js
index f21e110..05f7265 100644
--- a/html/js/git-deps-graph.js
+++ b/html/js/git-deps-graph.js
@@ -215,9 +215,10 @@ function draw_graph(commitish) {
.data(nodes, function (d) {
return d.sha1;
})
- .enter().append("g")
- .attr("class", "node")
- .call(d3cola.drag);
+ .call(d3cola.drag);
+
+ node.enter().append("g")
+ .attr("class", "node");
draw_nodes(fg, node);
});