From a7d8bd23d8d3fb59a624028e99a7afd48ca70bad Mon Sep 17 00:00:00 2001 From: Miodec Date: Tue, 6 Jan 2026 18:38:13 +0100 Subject: [PATCH] fix: remove type annotation from js code --- frontend/src/email-handler.html | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) 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");