summaryrefslogtreecommitdiff
path: root/vendor
diff options
context:
space:
mode:
authorDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2012-12-11 18:14:18 +0200
committerDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2012-12-11 18:14:18 +0200
commit95af2baa3775144d9541ea3b6f2e4c87b65b309e (patch)
tree7f0ac1acaa2e5f3ee26a0601feccc790af42c042 /vendor
parentca936d2784773652530e7b02af40b925ca45a4d6 (diff)
downloadgitlab-ce-95af2baa3775144d9541ea3b6f2e4c87b65b309e.tar.gz
Fix commit links in network graph
Diffstat (limited to 'vendor')
-rw-r--r--vendor/assets/javascripts/branch-graph.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/vendor/assets/javascripts/branch-graph.js b/vendor/assets/javascripts/branch-graph.js
index e8699bdfbf2..b68a72461a6 100644
--- a/vendor/assets/javascripts/branch-graph.js
+++ b/vendor/assets/javascripts/branch-graph.js
@@ -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"});