Commit 6dff742b6617a9a8bb4fd5d8ee7acc0327919cfb
Exists in
master
and in
4 other branches
Merge pull request #2852 from hiroponz/displaying-commit-on-new-window
Displaying commit on a new window, when clicking commit on network graph.
Showing
1 changed file
with
1 additions
and
1 deletions
Show diff stats
vendor/assets/javascripts/branch-graph.js
@@ -282,7 +282,7 @@ | @@ -282,7 +282,7 @@ | ||
282 | cursor: "pointer" | 282 | cursor: "pointer" |
283 | }) | 283 | }) |
284 | .click(function(){ | 284 | .click(function(){ |
285 | - window.location = options.commit_url.replace('%s', commit.id); | 285 | + window.open(options.commit_url.replace('%s', commit.id), '_blank'); |
286 | }) | 286 | }) |
287 | .hover(function(){ | 287 | .hover(function(){ |
288 | this.tooltip = r.commitTooltip(x, y + 5, commit); | 288 | this.tooltip = r.commitTooltip(x, y + 5, commit); |