Commit 95af2baa3775144d9541ea3b6f2e4c87b65b309e

Authored by Dmitriy Zaporozhets
1 parent ca936d27

Fix commit links in network graph

Showing 1 changed file with 1 additions and 1 deletions   Show diff stats
vendor/assets/javascripts/branch-graph.js
@@ -90,7 +90,7 @@ function branchGraph(holder) { @@ -90,7 +90,7 @@ function branchGraph(holder) {
90 (function (c, x, y) { 90 (function (c, x, y) {
91 top.push(r.circle(x, y, 10).attr({fill: "#000", opacity: 0, cursor: "pointer"}) 91 top.push(r.circle(x, y, 10).attr({fill: "#000", opacity: 0, cursor: "pointer"})
92 .click(function(){ 92 .click(function(){
93 - location.href = location.href.replace("graph", "commits/" + c.id); 93 + location.href = location.href.replace("graph", "commit/" + c.id);
94 }) 94 })
95 .hover(function () { 95 .hover(function () {
96 var s = r.text(100, 100,c.author + "\n \n" +c.id + "\n \n" + c.message).attr({fill: "#fff"}); 96 var s = r.text(100, 100,c.author + "\n \n" +c.id + "\n \n" + c.message).attr({fill: "#fff"});