diff --git a/app/assets/javascripts/ci_variable_list/ci_variable_list.js b/app/assets/javascripts/ci_variable_list/ci_variable_list.js index e3391cbca64..6d1053385fc 100644 --- a/app/assets/javascripts/ci_variable_list/ci_variable_list.js +++ b/app/assets/javascripts/ci_variable_list/ci_variable_list.js @@ -142,7 +142,7 @@ export default class VariableList { }); // Close any dropdowns - $rowClone.find('.show').each((index, $dropdown) => { + $rowClone.find('.dropdown.show').each((index, $dropdown) => { $dropdown.classList.remove('show'); });