diff options
author | Mike Greiling <mike@pixelcog.com> | 2018-10-10 01:41:22 -0500 |
---|---|---|
committer | Mike Greiling <mike@pixelcog.com> | 2018-10-17 00:40:17 -0500 |
commit | d2ee2eabc2a6b9037e98f3feb9d1534ebda79e19 (patch) | |
tree | c5ed1096ef59229ad610043ff2c5c86db0f91e2c /app/assets/javascripts/pages/admin/users/new | |
parent | d87e88a616f370421add5b3d964550e456430432 (diff) | |
download | gitlab-ce-d2ee2eabc2a6b9037e98f3feb9d1534ebda79e19.tar.gz |
Prettify app/assets/javascripts/pagesprettify-all-the-things-3
Diffstat (limited to 'app/assets/javascripts/pages/admin/users/new')
-rw-r--r-- | app/assets/javascripts/pages/admin/users/new/index.js | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/app/assets/javascripts/pages/admin/users/new/index.js b/app/assets/javascripts/pages/admin/users/new/index.js index 58bfa8d64e7..3e6a090cb0e 100644 --- a/app/assets/javascripts/pages/admin/users/new/index.js +++ b/app/assets/javascripts/pages/admin/users/new/index.js @@ -4,7 +4,9 @@ export default class UserInternalRegexHandler { constructor() { this.regexPattern = $('[data-user-internal-regex-pattern]').data('user-internal-regex-pattern'); if (this.regexPattern && this.regexPattern !== '') { - this.regexOptions = $('[data-user-internal-regex-options]').data('user-internal-regex-options'); + this.regexOptions = $('[data-user-internal-regex-options]').data( + 'user-internal-regex-options', + ); this.external = $('#user_external'); this.warningMessage = $('#warning_external_automatically_set'); this.addListenerToEmailField(); @@ -13,7 +15,7 @@ export default class UserInternalRegexHandler { } addListenerToEmailField() { - $('#user_email').on('input', (event) => { + $('#user_email').on('input', event => { this.setExternalCheckbox(event.currentTarget.value); }); } |