aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAdam Spiers <git@adamspiers.org>2015-01-18 19:41:52 +0000
committerAdam Spiers <git@adamspiers.org>2015-01-18 19:41:52 +0000
commitc32ca285a833ad2fd81b3307095e6d0f74dbba82 (patch)
tree51fda8e2239ba87850563a4273387ff6b78cf121
parent68469e647557203a4493c89e297e3b7a02fc2021 (diff)
downloadgit-deps-c32ca285a833ad2fd81b3307095e6d0f74dbba82.tar.gz
move build_constraints() call for clarity
-rw-r--r--html/js/git-deps-graph.coffee2
1 files changed, 1 insertions, 1 deletions
diff --git a/html/js/git-deps-graph.coffee b/html/js/git-deps-graph.coffee
index 8164181..e7b7530 100644
--- a/html/js/git-deps-graph.coffee
+++ b/html/js/git-deps-graph.coffee
@@ -165,7 +165,6 @@ init_svg = ->
svg_defs fg
update_cola = ->
- gdl.build_constraints()
d3cola
.nodes(gdd.nodes)
.links(gdd.links)
@@ -187,6 +186,7 @@ draw_graph = (commitish) ->
new_data_notification new_data
focus_commitish_input()
+ gdl.build_constraints()
update_cola()
paths = fg.selectAll(".link")