summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFilipa Lacerda <filipa@gitlab.com>2017-03-10 23:54:19 +0000
committerFilipa Lacerda <filipa@gitlab.com>2017-03-10 23:54:19 +0000
commitc6015fb4e8e3e16046310f278bbe465ab33af648 (patch)
tree8915f1154635869fe854c4a7aa4b2fcfdfa5d2c3
parente78aed49cd81e2873d7a536bc13e2e77435e290e (diff)
downloadgitlab-ce-28385-27189-tech-debt-dropdown.tar.gz
-rw-r--r--app/assets/javascripts/vue_pipelines_index/stage.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/assets/javascripts/vue_pipelines_index/stage.js b/app/assets/javascripts/vue_pipelines_index/stage.js
index f67ebd6a265..ae4f0b4a53b 100644
--- a/app/assets/javascripts/vue_pipelines_index/stage.js
+++ b/app/assets/javascripts/vue_pipelines_index/stage.js
@@ -69,7 +69,7 @@ import warningSvg from 'icons/_icon_status_warning_borderless.svg';
* target the click event of this component.
*/
stopDropdownClickPropagation() {
- $(this.$el.querySelectorAll('.js-builds-dropdown-list a.mini-pipeline-graph-dropdown-item')).on('click', (e) => {
+ $(this.$el).on('click', '.js-builds-dropdown-list a.mini-pipeline-graph-dropdown-item', (e) => {
e.stopPropagation();
});
},