diff options
author | Bryce Johnson <bryce@gitlab.com> | 2016-11-02 13:40:32 +0300 |
---|---|---|
committer | Bryce Johnson <bryce@gitlab.com> | 2016-11-02 13:40:32 +0300 |
commit | b351b2669364dd36e27d21d4389612e6ab423410 (patch) | |
tree | 6eba5a4ebade3daf9bab260772ee1c9562d7b5c7 /app/assets | |
parent | 4b4fde7528d9ecd4d0947c1a2879cfe4c58e720a (diff) |
Unchange username_validator.
Diffstat (limited to 'app/assets')
-rw-r--r-- | app/assets/javascripts/username_validator.js.es6 | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/app/assets/javascripts/username_validator.js.es6 b/app/assets/javascripts/username_validator.js.es6 index 023ec0838dc..c4dde575c6e 100644 --- a/app/assets/javascripts/username_validator.js.es6 +++ b/app/assets/javascripts/username_validator.js.es6 @@ -25,6 +25,7 @@ this.inputElement.on('keyup.username_check', () => { const username = this.inputElement.val(); + this.state.valid = this.inputDomElement.validity.valid; this.state.empty = !username.length; |