Skip to content
Snippets Groups Projects
Commit 95af2baa authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets
Browse files

Fix commit links in network graph

parent ca936d27
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -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
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment