diff options
Diffstat (limited to 'templates/note/write_form.php')
| -rw-r--r-- | templates/note/write_form.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/note/write_form.php b/templates/note/write_form.php index f7b0b06..46422b0 100644 --- a/templates/note/write_form.php +++ b/templates/note/write_form.php @@ -4,7 +4,7 @@ </form> <form id="writeNoteForm" action="/todo" method="post" hx-post="/fragment/note" hx-swap="outerHTML" hx-target="this" - hx-disabled-elt="find button" _="on submit wait 1s then trigger update on #liveTimelineUpdater" + hx-disabled-elt="find button" _="on htmx:afterOnLoad trigger update on #liveTimelineUpdater" <?= ($_SERVER['REQUEST_METHOD'] == 'GET') ? 'hx-preserve' : '' ?>> <div class="row miniProfile"> <a href="/@/<?= $actor->handle ?>" hx-target="#centrePane" hx-swap="outerHTML show:window:top"> |
