Skip to content
Snippets Groups Projects
Commit 229f8068 authored by Simon Knox's avatar Simon Knox
Browse files

loading icon sometimes toggled alongside MR pipeline contents

unbind existing listenerss and remove duplicate MiniPipelineGraph init
parent 5cc9ebbe
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -252,7 +252,6 @@ require('./smart_interval');
$('.ci_widget.ci-error').show();
this.setMergeButtonClass('btn-danger');
}
this.initMiniPipelineGraph();
};
 
MergeRequestWidget.prototype.showCICoverage = function(coverage) {
Loading
Loading
Loading
Loading
@@ -28,7 +28,7 @@
* All dropdown events are fired at the .dropdown-menu's parent element.
*/
bindEvents() {
$(document).on('shown.bs.dropdown', this.container, this.getBuildsList);
$(document).off('shown.bs.dropdown', this.container).on('shown.bs.dropdown', this.container, this.getBuildsList);
}
 
/**
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment