diff options
author | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2013-01-25 08:24:22 -0800 |
---|---|---|
committer | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2013-01-25 08:24:22 -0800 |
commit | 5ee8c132a540973c6726bfb99b2050dccc390449 (patch) | |
tree | 199de014cf5d14f48d8be28e3ae0e2bffab3718f | |
parent | 639b0a8715074a166eb9ef4252e4f2b5ae5e2c84 (diff) | |
parent | 561a0e3a4a53030ef465c1ce729aba2e5def9964 (diff) | |
download | gitlab-ce-5ee8c132a540973c6726bfb99b2050dccc390449.tar.gz |
Merge pull request #2769 from hiroponz/fix-not-showing-tooltip
Fix not showing tooltip on network graph
-rw-r--r-- | vendor/assets/javascripts/branch-graph.js | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/vendor/assets/javascripts/branch-graph.js b/vendor/assets/javascripts/branch-graph.js index af3b572a4e3..93849c79e80 100644 --- a/vendor/assets/javascripts/branch-graph.js +++ b/vendor/assets/javascripts/branch-graph.js @@ -65,15 +65,15 @@ BranchGraph.prototype.buildGraph = function(){ var graphWidth = $(this.element).width() - , ch = this.mspace * 20 + 20 - , cw = Math.max(graphWidth, this.mtime * 20 + 20) + , ch = this.mspace * 20 + 100 + , cw = Math.max(graphWidth, this.mtime * 20 + 260) , r = Raphael(this.element.get(0), cw, ch) , top = r.set() , cuday = 0 , cumonth = "" , offsetX = 20 , offsetY = 60 - , barWidth = Math.max(graphWidth, this.dayCount * 20 + 80); + , barWidth = Math.max(graphWidth, this.dayCount * 20 + 320); this.raphael = r; |