Fix commit links in network graph

4-1-stable
Dmitriy Zaporozhets 2012-12-11 18:14:18 +02:00
parent ca936d2784
commit 95af2baa37
1 changed files with 1 additions and 1 deletions

View File

@ -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"});