diff options
author | Mike Greiling <mike@pixelcog.com> | 2018-10-10 01:48:36 -0500 |
---|---|---|
committer | Mike Greiling <mike@pixelcog.com> | 2018-10-17 00:44:22 -0500 |
commit | c0d26698c419cde5ce1c114988f63247dd6c64b3 (patch) | |
tree | 11dbce212adea717d60dda2942c815d944df02d0 /app/assets/javascripts/protected_tags/protected_tag_create.js | |
parent | b49c400a968499d5b0464fcac0b41cce38cb2200 (diff) | |
download | gitlab-ce-c0d26698c419cde5ce1c114988f63247dd6c64b3.tar.gz |
Prettify protected_branches and protected_tags modules
Diffstat (limited to 'app/assets/javascripts/protected_tags/protected_tag_create.js')
-rw-r--r-- | app/assets/javascripts/protected_tags/protected_tag_create.js | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/app/assets/javascripts/protected_tags/protected_tag_create.js b/app/assets/javascripts/protected_tags/protected_tag_create.js index 2f8116df0d2..fddf2674cbb 100644 --- a/app/assets/javascripts/protected_tags/protected_tag_create.js +++ b/app/assets/javascripts/protected_tags/protected_tag_create.js @@ -40,7 +40,9 @@ export default class ProtectedTagCreate { const $tagInput = this.$form.find('input[name="protected_tag[name]"]'); const $allowedToCreateInput = this.$form.find('#create_access_levels_attributes'); - this.$form.find('input[type="submit"]').prop('disabled', !($tagInput.val() && $allowedToCreateInput.length)); + this.$form + .find('input[type="submit"]') + .prop('disabled', !($tagInput.val() && $allowedToCreateInput.length)); } static getProtectedTags(term, callback) { |