diff options
author | Jose Ivan Vargas <jvargas@gitlab.com> | 2017-10-05 00:56:20 +0300 |
---|---|---|
committer | Jose Ivan Vargas <jvargas@gitlab.com> | 2017-10-05 00:56:20 +0300 |
commit | 91384251bbc675a3a5b4b16b781f2811d6cab959 (patch) | |
tree | 65ab8ee89926bd1dc231f02715e98285287c1cd7 /app/assets/javascripts/protected_branches | |
parent | a2dcf052da82bdb1dd7064dd99956fe2be469dd1 (diff) |
address-code-styling
Diffstat (limited to 'app/assets/javascripts/protected_branches')
-rw-r--r-- | app/assets/javascripts/protected_branches/protected_branch_create.js | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/app/assets/javascripts/protected_branches/protected_branch_create.js b/app/assets/javascripts/protected_branches/protected_branch_create.js index efc612a3dc7..0a9fdb074e5 100644 --- a/app/assets/javascripts/protected_branches/protected_branch_create.js +++ b/app/assets/javascripts/protected_branches/protected_branch_create.js @@ -51,10 +51,10 @@ export default class ProtectedBranchCreate { const $allowedToMergeInput = this.$form.find('input[name="protected_branch[merge_access_levels_attributes][0][access_level]"]'); const $allowedToPushInput = this.$form.find('input[name="protected_branch[push_access_levels_attributes][0][access_level]"]'); const completedForm = !( - $branchInput.val() && - $allowedToMergeInput.length && - $allowedToPushInput.length - ); + $branchInput.val() && + $allowedToMergeInput.length && + $allowedToPushInput.length + ); this.savePreviousSelection($allowedToMergeInput.val(), $allowedToPushInput.val()); this.$form.find('input[type="submit"]').attr('disabled', completedForm); |