Commit f8a2db53417a345d78d8e6b78367d5bbb9bb601b

Authored by Sato Hiroyuki
1 parent 1fdeb9e0

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
@@ -260,7 +260,7 @@ @@ -260,7 +260,7 @@
260 cursor: "pointer" 260 cursor: "pointer"
261 }) 261 })
262 .click(function(){ 262 .click(function(){
263 - window.location = options.commit_url.replace('%s', commit.id); 263 + window.open(options.commit_url.replace('%s', commit.id), '_blank');
264 }) 264 })
265 .hover(function(){ 265 .hover(function(){
266 this.tooltip = r.commitTooltip(x, y + 5, commit); 266 this.tooltip = r.commitTooltip(x, y + 5, commit);