diff options
author | Sato Hiroyuki <sathiroyuki@gmail.com> | 2013-01-31 05:37:23 +0400 |
---|---|---|
committer | Sato Hiroyuki <sathiroyuki@gmail.com> | 2013-01-31 05:43:57 +0400 |
commit | f8a2db53417a345d78d8e6b78367d5bbb9bb601b (patch) | |
tree | 22051728921151ef29cb90672e81c16d05a0ca03 /vendor/assets | |
parent | 1fdeb9e03042b1b645ed0fe6c33fb4f21dd6ddb1 (diff) |
Displaying commit on a new window, when clicking commit on network graph.
Diffstat (limited to 'vendor/assets')
-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 93849c79e80..2fc39423b41 100644 --- a/vendor/assets/javascripts/branch-graph.js +++ b/vendor/assets/javascripts/branch-graph.js @@ -260,7 +260,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); |