Merge branch '28385-27189-tech-debt-dropdown' into 'master'
Simplify jQuery selector See merge request !9881
This commit is contained in:
commit
32da760268
1 changed files with 1 additions and 1 deletions
|
@ -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();
|
||||
});
|
||||
},
|
||||
|
|
Loading…
Reference in a new issue