Fix syntax error in password confirmation dialogues
This commit is contained in:
parent
30fc401ffc
commit
29e0f06222
|
@ -1,6 +1,6 @@
|
|||
export function userSubmitHandler(event: Event): void {
|
||||
if (document.querySelector<HTMLInputElement>('#user_current_password').value.length === 0) {
|
||||
event.preventDefault();
|
||||
document.querySelector<HTMLButtonElement>('[data-target=#modal-passwd]').click();
|
||||
document.querySelector<HTMLButtonElement>('[data-target="#modal-passwd"]').click();
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue