about summary refs log tree commit diff
path: root/kittybox-rs
diff options
context:
space:
mode:
authorVika <vika@fireburn.ru>2022-09-29 03:28:20 +0300
committerVika <vika@fireburn.ru>2022-09-29 03:28:20 +0300
commitb3508ccb146648950ed392b517d12354203c4347 (patch)
tree4bb4a739f218f01e6107cfae74e1b8493ee5b18d /kittybox-rs
parentefbe51b0874773230ec6bafac1e630f603acaf69 (diff)
downloadkittybox-b3508ccb146648950ed392b517d12354203c4347.tar.zst
Diffstat (limited to 'kittybox-rs')
-rw-r--r--kittybox-rs/templates/src/indieauth.rs2
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 {