Commit 9d0794df15255ae671ed0d42acef928f78fd2797
Exists in
master
and in
4 other branches
Merge branch 'feature_294'
Showing
1 changed file
with
3 additions
and
0 deletions
Show diff stats
lib/assets/javascripts/branch-graph.js
| ... | ... | @@ -89,6 +89,9 @@ function branchGraph(holder) { |
| 89 | 89 | } |
| 90 | 90 | (function (c, x, y) { |
| 91 | 91 | top.push(r.circle(x, y, 10).attr({fill: "#000", opacity: 0, cursor: "pointer"}) |
| 92 | + .click(function(){ | |
| 93 | + location.href = location.href.replace("graph", "commits/" + c.id); | |
| 94 | + }) | |
| 92 | 95 | .hover(function () { |
| 93 | 96 | var s = r.text(100, 100,c.author + "\n \n" +c.id + "\n \n" + c.message).attr({fill: "#fff"}); |
| 94 | 97 | this.popup = r.popupit(x, y + 5, s, 0); | ... | ... |