Displaying commit on a new window, when clicking commit on network graph.
This commit is contained in:
parent
1fdeb9e030
commit
f8a2db5341
1 changed files with 1 additions and 1 deletions
2
vendor/assets/javascripts/branch-graph.js
vendored
2
vendor/assets/javascripts/branch-graph.js
vendored
|
@ -260,7 +260,7 @@
|
||||||
cursor: "pointer"
|
cursor: "pointer"
|
||||||
})
|
})
|
||||||
.click(function(){
|
.click(function(){
|
||||||
window.location = options.commit_url.replace('%s', commit.id);
|
window.open(options.commit_url.replace('%s', commit.id), '_blank');
|
||||||
})
|
})
|
||||||
.hover(function(){
|
.hover(function(){
|
||||||
this.tooltip = r.commitTooltip(x, y + 5, commit);
|
this.tooltip = r.commitTooltip(x, y + 5, commit);
|
||||||
|
|
Loading…
Reference in a new issue