diff options
author | Luke Bennett <lukeeeebennettplus@gmail.com> | 2016-10-06 23:20:25 +0300 |
---|---|---|
committer | Annabel Dunstone Gray <annabel.dunstone@gmail.com> | 2016-10-10 18:48:50 +0300 |
commit | a57b3fc80c50b951d3a54ce2108608d45826c5ef (patch) | |
tree | 74d025226f6f2c7e532025c8d35c56ea9a15bc46 /app/assets/javascripts | |
parent | 4e1efca14119a25c441d833268894a632eb269d5 (diff) |
Corrected my correction for turbolinks -.-'
Removed extra cell on generic pipeline
Diffstat (limited to 'app/assets/javascripts')
-rw-r--r-- | app/assets/javascripts/pipeline.js.es6 | 3 |
1 files changed, 1 insertions, 2 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() { |