diff options
Diffstat (limited to 'kittybox-rs/templates/src')
-rw-r--r-- | kittybox-rs/templates/src/indieauth.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kittybox-rs/templates/src/indieauth.rs b/kittybox-rs/templates/src/indieauth.rs index d2d7219..e901d7b 100644 --- a/kittybox-rs/templates/src/indieauth.rs +++ b/kittybox-rs/templates/src/indieauth.rs @@ -11,7 +11,7 @@ markup::define! { script[type="module"] { @markup::raw(r#"import { submit_handler } from "/.kittybox/static/indieauth.js"; -document.getElementById("indieauth_page").addEventHandler("submit", submit_handler); +document.getElementById("indieauth_page").addEventListener("submit", submit_handler); "#) } main { |