diff options
Diffstat (limited to 'templates/javascript/src/indieauth.ts')
-rw-r--r-- | templates/javascript/src/indieauth.ts | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/templates/javascript/src/indieauth.ts b/templates/javascript/src/indieauth.ts index 57f075e..eb9331e 100644 --- a/templates/javascript/src/indieauth.ts +++ b/templates/javascript/src/indieauth.ts @@ -148,3 +148,5 @@ export async function submit_handler(e: SubmitEvent) { } } + +(document.getElementById("indieauth_page") as HTMLFormElement).addEventListener("submit", submit_handler); |