aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--html/js/git-deps-graph.coffee6
1 files changed, 3 insertions, 3 deletions
diff --git a/html/js/git-deps-graph.coffee b/html/js/git-deps-graph.coffee
index 7c10d96..b2d36fa 100644
--- a/html/js/git-deps-graph.coffee
+++ b/html/js/git-deps-graph.coffee
@@ -204,9 +204,9 @@ draw_graph = (commitish) ->
# Questionable attempt to use dagre layout as starting positions
# https://github.com/tgdwyer/WebCola/issues/63
nodes.each (d, i) ->
- n = gdl.node d.sha1
- d.x = n.x
- d.y = n.y
+ n = gdl.node d.sha1
+ d.x = n.x
+ d.y = n.y
nodes.attr "transform", (d) ->
translate d.x, d.y