summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhil Hughes <me@iamphill.com>2017-02-08 15:58:58 +0000
committerPhil Hughes <me@iamphill.com>2017-02-08 15:58:58 +0000
commitb167bf02aa0ad257baf70054185b75607240ec78 (patch)
tree4141ee0f471ebef94f1c1ca5e249a64f4adc3ecc
parent4b4e07cf47f82390255808fa4afdfe6c7fd96b5f (diff)
downloadgitlab-ce-minigraph-fix.tar.gz
Listens on document for mini-pipeline graphminigraph-fix
This technically fixes an issue in EE, but to keep code the same this is the CE port
-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);
}
/**