From efbe51b0874773230ec6bafac1e630f603acaf69 Mon Sep 17 00:00:00 2001 From: Vika Date: Thu, 29 Sep 2022 01:51:31 +0300 Subject: AAAAAAAAAAAAAAAAA --- kittybox-rs/templates/src/indieauth.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'kittybox-rs/templates/src') 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 { -- cgit 1.4.1