From b167bf02aa0ad257baf70054185b75607240ec78 Mon Sep 17 00:00:00 2001 From: Phil Hughes Date: Wed, 8 Feb 2017 15:58:58 +0000 Subject: Listens on document for mini-pipeline graph This technically fixes an issue in EE, but to keep code the same this is the CE port --- app/assets/javascripts/mini_pipeline_graph_dropdown.js.es6 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'app/assets') diff --git a/app/assets/javascripts/mini_pipeline_graph_dropdown.js.es6 b/app/assets/javascripts/mini_pipeline_graph_dropdown.js.es6 index 4becbc32681..919fcd0a07b 100644 --- a/app/assets/javascripts/mini_pipeline_graph_dropdown.js.es6 +++ b/app/assets/javascripts/mini_pipeline_graph_dropdown.js.es6 @@ -28,7 +28,7 @@ * All dropdown events are fired at the .dropdown-menu's parent element. */ bindEvents() { - $(this.container).on('shown.bs.dropdown', this.getBuildsList); + $(document).on('shown.bs.dropdown', this.container, this.getBuildsList); } /** -- cgit v1.2.1