summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuke Bennett <lukeeeebennettplus@gmail.com>2016-10-06 21:20:25 +0100
committerAnnabel Dunstone Gray <annabel.dunstone@gmail.com>2016-10-10 10:48:50 -0500
commita57b3fc80c50b951d3a54ce2108608d45826c5ef (patch)
tree74d025226f6f2c7e532025c8d35c56ea9a15bc46
parent4e1efca14119a25c441d833268894a632eb269d5 (diff)
downloadgitlab-ce-a57b3fc80c50b951d3a54ce2108608d45826c5ef.tar.gz
Corrected my correction for turbolinks -.-'
Removed extra cell on generic pipeline
-rw-r--r--app/assets/javascripts/pipeline.js.es63
-rw-r--r--app/views/projects/generic_commit_statuses/_generic_commit_status.html.haml2
2 files changed, 1 insertions, 4 deletions
diff --git a/app/assets/javascripts/pipeline.js.es6 b/app/assets/javascripts/pipeline.js.es6
index 1030447f74a..a29f6ecdd59 100644
--- a/app/assets/javascripts/pipeline.js.es6
+++ b/app/assets/javascripts/pipeline.js.es6
@@ -3,8 +3,7 @@
class Pipelines {
constructor() {
$(document).off('click', '.toggle-pipeline-btn').on('click', '.toggle-pipeline-btn', this.toggleGraph);
- $(document).off('ready.addMarginToBuildColumns').on('ready.addMarginToBuildColumns', this.addMarginToBuildColumns);
- $(document).off('page:load.addMarginToBuildColumns').on('page:load.addMarginToBuildColumns', this.addMarginToBuildColumns);
+ this.addMarginToBuildColumns();
}
toggleGraph() {
diff --git a/app/views/projects/generic_commit_statuses/_generic_commit_status.html.haml b/app/views/projects/generic_commit_statuses/_generic_commit_status.html.haml
index 331dc1fcc29..80fe6be49b0 100644
--- a/app/views/projects/generic_commit_statuses/_generic_commit_status.html.haml
+++ b/app/views/projects/generic_commit_statuses/_generic_commit_status.html.haml
@@ -62,5 +62,3 @@
%td.coverage
- if generic_commit_status.try(:coverage)
#{generic_commit_status.coverage}%
-
- %td