diff options
author | Filipa Lacerda <filipa@gitlab.com> | 2017-03-10 23:54:19 +0000 |
---|---|---|
committer | Filipa Lacerda <filipa@gitlab.com> | 2017-03-10 23:54:19 +0000 |
commit | c6015fb4e8e3e16046310f278bbe465ab33af648 (patch) | |
tree | 8915f1154635869fe854c4a7aa4b2fcfdfa5d2c3 | |
parent | e78aed49cd81e2873d7a536bc13e2e77435e290e (diff) | |
download | gitlab-ce-c6015fb4e8e3e16046310f278bbe465ab33af648.tar.gz |
Simplify selector28385-27189-tech-debt-dropdown
-rw-r--r-- | app/assets/javascripts/vue_pipelines_index/stage.js | 2 |
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(); }); }, |