Fix commit links in network graph
This commit is contained in:
parent
ca936d2784
commit
95af2baa37
1 changed files with 1 additions and 1 deletions
2
vendor/assets/javascripts/branch-graph.js
vendored
2
vendor/assets/javascripts/branch-graph.js
vendored
|
@ -90,7 +90,7 @@ function branchGraph(holder) {
|
|||
(function (c, x, y) {
|
||||
top.push(r.circle(x, y, 10).attr({fill: "#000", opacity: 0, cursor: "pointer"})
|
||||
.click(function(){
|
||||
location.href = location.href.replace("graph", "commits/" + c.id);
|
||||
location.href = location.href.replace("graph", "commit/" + c.id);
|
||||
})
|
||||
.hover(function () {
|
||||
var s = r.text(100, 100,c.author + "\n \n" +c.id + "\n \n" + c.message).attr({fill: "#fff"});
|
||||
|
|
Loading…
Reference in a new issue