summaryrefslogtreecommitdiff
path: root/vendor
diff options
context:
space:
mode:
authorSato Hiroyuki <sathiroyuki@gmail.com>2013-01-31 17:29:36 +0900
committerSato Hiroyuki <sathiroyuki@gmail.com>2013-01-31 17:48:51 +0900
commit41332212005d2a6d2d2131bc30c29bd29b81453e (patch)
treee8709c98cbd1c807257a7cfaeda035482d9913cf /vendor
parent9da7b2e8d8ed08cb193af2babf150cb8c7715f80 (diff)
downloadgitlab-ce-41332212005d2a6d2d2131bc30c29bd29b81453e.tar.gz
Fix bug of network graph(#2847) and trivial code clean up.
Diffstat (limited to 'vendor')
-rw-r--r--vendor/assets/javascripts/branch-graph.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/vendor/assets/javascripts/branch-graph.js b/vendor/assets/javascripts/branch-graph.js
index 4ca8680416b..7929d3b2a14 100644
--- a/vendor/assets/javascripts/branch-graph.js
+++ b/vendor/assets/javascripts/branch-graph.js
@@ -122,7 +122,7 @@
var cx = offsetX + 20 * c.time
, cy = offsetY + 10 * c.space
, psy = offsetY + 10 * ps;
- if (c.space == this.commits[i].space) {
+ if (c.space == this.commits[i].space && c.space == ps) {
r.path([
"M", x, y,
"L", cx, cy