diff options
author | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2013-01-30 22:23:33 -0800 |
---|---|---|
committer | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2013-01-30 22:23:33 -0800 |
commit | 6dff742b6617a9a8bb4fd5d8ee7acc0327919cfb (patch) | |
tree | 7ab8a0a94b076020a63ddb7a539c6dbcc15a2d28 /vendor/assets/javascripts/branch-graph.js | |
parent | d46cb3fd1c8aa423df72fabcdd504d39d91317e2 (diff) | |
parent | f8a2db53417a345d78d8e6b78367d5bbb9bb601b (diff) | |
download | gitlab-ce-6dff742b6617a9a8bb4fd5d8ee7acc0327919cfb.tar.gz |
Merge pull request #2852 from hiroponz/displaying-commit-on-new-window
Displaying commit on a new window, when clicking commit on network graph.
Diffstat (limited to 'vendor/assets/javascripts/branch-graph.js')
-rw-r--r-- | vendor/assets/javascripts/branch-graph.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/vendor/assets/javascripts/branch-graph.js b/vendor/assets/javascripts/branch-graph.js index 69bddd78d63..4ca8680416b 100644 --- a/vendor/assets/javascripts/branch-graph.js +++ b/vendor/assets/javascripts/branch-graph.js @@ -282,7 +282,7 @@ cursor: "pointer" }) .click(function(){ - window.location = options.commit_url.replace('%s', commit.id); + window.open(options.commit_url.replace('%s', commit.id), '_blank'); }) .hover(function(){ this.tooltip = r.commitTooltip(x, y + 5, commit); |