diff options
author | Vika <vika@fireburn.ru> | 2022-09-29 01:51:31 +0300 |
---|---|---|
committer | Vika <vika@fireburn.ru> | 2022-09-29 01:51:31 +0300 |
commit | efbe51b0874773230ec6bafac1e630f603acaf69 (patch) | |
tree | eceabc341804f93349cd1b81ee3ad75c8a6fc3d8 /kittybox-rs/templates/src | |
parent | fe797b87332bf9c9625da1474fd0956d01de60e6 (diff) | |
download | kittybox-efbe51b0874773230ec6bafac1e630f603acaf69.tar.zst |
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 1b47daf..d2d7219 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").onSubmit = submit_handler; +document.getElementById("indieauth_page").addEventHandler("submit", submit_handler); "#) } main { |