Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/app
diff options
context:
space:
mode:
authorPhil Hughes <me@iamphill.com>2017-02-08 18:58:58 +0300
committerPhil Hughes <me@iamphill.com>2017-02-08 18:58:58 +0300
commitb167bf02aa0ad257baf70054185b75607240ec78 (patch)
tree4141ee0f471ebef94f1c1ca5e249a64f4adc3ecc /app
parent4b4e07cf47f82390255808fa4afdfe6c7fd96b5f (diff)
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
Diffstat (limited to 'app')
-rw-r--r--app/assets/javascripts/mini_pipeline_graph_dropdown.js.es62
1 files changed, 1 insertions, 1 deletions
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);
}
/**