web: (ESLint) Consistent use of triple-equals. (#14554)

web: Consistent use of triple-equals.
This commit is contained in:
Teffen Ellis
2025-05-19 19:25:11 +02:00
committed by GitHub
parent 1a80353bc0
commit d97297e0ce
15 changed files with 18 additions and 18 deletions

View File

@ -144,7 +144,7 @@ export class IdentificationStage extends BaseStage<
password.setAttribute("name", "password");
password.setAttribute("autocomplete", "current-password");
password.onkeyup = (ev: KeyboardEvent) => {
if (ev.key == "Enter") {
if (ev.key === "Enter") {
this.submitForm(ev);
}
const el = ev.target as HTMLInputElement;
@ -169,7 +169,7 @@ export class IdentificationStage extends BaseStage<
totp.setAttribute("name", "code");
totp.setAttribute("autocomplete", "one-time-code");
totp.onkeyup = (ev: KeyboardEvent) => {
if (ev.key == "Enter") {
if (ev.key === "Enter") {
this.submitForm(ev);
}
const el = ev.target as HTMLInputElement;