Commit c31c84f58a8787fa78ee504ea36487264d8b8721
1 parent
464ca2a2
Exists in
master
and in
4 other branches
network graph: use same color for all branch
Showing
1 changed file
with
1 additions
and
1 deletions
Show diff stats
vendor/assets/javascripts/branch-graph.js
@@ -83,7 +83,7 @@ function branchGraph(holder) { | @@ -83,7 +83,7 @@ function branchGraph(holder) { | ||
83 | .attr({stroke: colors[commits[i].space], "stroke-width": 2}); | 83 | .attr({stroke: colors[commits[i].space], "stroke-width": 2}); |
84 | } else { | 84 | } else { |
85 | r.path(["M", x - 3, y + 4, "l-4,3,3,2,1,-4L", x - 10, y + 14, "L", x - 10, cy, cx, cy]) | 85 | r.path(["M", x - 3, y + 4, "l-4,3,3,2,1,-4L", x - 10, y + 14, "L", x - 10, cy, cx, cy]) |
86 | - .attr({stroke: colors[commits[i].space], "stroke-width": 2}); | 86 | + .attr({stroke: colors[c.space], "stroke-width": 2}); |
87 | } | 87 | } |
88 | } | 88 | } |
89 | } | 89 | } |