diff --git a/frontend/src/email-handler.html b/frontend/src/email-handler.html index 9e24eb6b6..6eb5728b3 100644 --- a/frontend/src/email-handler.html +++ b/frontend/src/email-handler.html @@ -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");