Commit 95af2baa authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets

Fix commit links in network graph

parent ca936d27
......@@ -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"});
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment