Merge pull request #2852 from hiroponz/displaying-commit-on-new-window
Displaying commit on a new window, when clicking commit on network graph.
This commit is contained in:
commit
6dff742b66
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
|
@ -282,7 +282,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