summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorClement Ho <ClemMakesApps@gmail.com>2018-05-22 17:27:53 -0500
committerClement Ho <ClemMakesApps@gmail.com>2018-05-22 17:27:53 -0500
commit1c0b943fabab31ba9af9d2874b131447dd07406f (patch)
tree263a89658d55729e392f250e529c1615b4b81eba
parent6dd13180ccbfecb0038510fa55808dda5952342f (diff)
downloadgitlab-ce-1c0b943fabab31ba9af9d2874b131447dd07406f.tar.gz
Scope to .dropdown
-rw-r--r--app/assets/javascripts/ci_variable_list/ci_variable_list.js2
1 files changed, 1 insertions, 1 deletions
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');
});