diff options
| author | syuilo <syuilotan@yahoo.co.jp> | 2017-02-22 02:05:44 +0900 |
|---|---|---|
| committer | syuilo <syuilotan@yahoo.co.jp> | 2017-02-22 02:05:44 +0900 |
| commit | f0b071893296e323df2ed2bdb06dbe794d72258d (patch) | |
| tree | 321f492a7ad024e568786b831dfc864adeb77aea /src/web/app/common | |
| parent | Fix (diff) | |
| download | misskey-f0b071893296e323df2ed2bdb06dbe794d72258d.tar.gz misskey-f0b071893296e323df2ed2bdb06dbe794d72258d.tar.bz2 misskey-f0b071893296e323df2ed2bdb06dbe794d72258d.zip | |
Fix bugs
Diffstat (limited to 'src/web/app/common')
| -rw-r--r-- | src/web/app/common/tags/signup.tag | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/web/app/common/tags/signup.tag b/src/web/app/common/tags/signup.tag index dafdf51e17..f0358e2328 100644 --- a/src/web/app/common/tags/signup.tag +++ b/src/web/app/common/tags/signup.tag @@ -249,6 +249,7 @@ const strength = this.getPasswordStrength(password); this.passwordStrength = strength > 0.7 ? 'high' : strength > 0.3 ? 'medium' : 'low'; + this.update(); this.refs.passwordMetar.style.width = `${strength * 100}%`; }; @@ -256,7 +257,7 @@ const password = this.refs.password.value; const retypedPassword = this.refs.passwordRetype.value; - if (retyped-password == '') { + if (retypedPassword == '') { this.passwordRetypeState = null; return; } |