mirror of
https://github.com/monkeytypegame/monkeytype.git
synced 2026-01-13 19:04:06 +08:00
fix: remove type annotation from js code
This commit is contained in:
parent
354bf73a34
commit
a7d8bd23d8
1 changed files with 4 additions and 6 deletions
|
|
@ -238,12 +238,10 @@
|
|||
.then((email) => {
|
||||
var accountEmail = email;
|
||||
|
||||
var newPassword =
|
||||
qs < HTMLInputElement > "main .resetPassword .pwd"?.getValue();
|
||||
var newPasswordConfirm =
|
||||
qs <
|
||||
HTMLInputElement >
|
||||
"main .resetPassword .pwd-confirm"?.getValue();
|
||||
var newPassword = qs("main .resetPassword .pwd")?.getValue();
|
||||
var newPasswordConfirm = qs(
|
||||
"main .resetPassword .pwd-confirm",
|
||||
)?.getValue();
|
||||
|
||||
if (newPassword !== newPasswordConfirm) {
|
||||
alert("Passwords do not match");
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue