diff options
Diffstat (limited to 'templates/reply_form.php')
| -rw-r--r-- | templates/reply_form.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/templates/reply_form.php b/templates/reply_form.php index f96eb5a..9a1d7e5 100644 --- a/templates/reply_form.php +++ b/templates/reply_form.php @@ -1,9 +1,9 @@ <form class="noteReplyForm" id="replyForm-<?= $note->id ?>" - _="on submit send toggle to previous <button.reply/> on toggle or submit toggle @hidden" hidden - hx-post="/fragment/note/<?= $note->id ?>/reply" hx-disabled-elt="find button" hx-swap="outerHTML"> + _="on submit send toggle to previous <button.reply/> then wait 1s then trigger update on #liveTimelineUpdater on toggle or submit toggle @hidden" + hidden hx-post="/fragment/note/<?= $note->id ?>/reply" hx-disabled-elt="find button" hx-swap="outerHTML"> <div class="row"> <label for="replyContent-<?= $note->id ?>"><?= __('writeReply.label') ?></label> - <textarea id="replyContent-<?= $note->id ?>" name="content" required></textarea> + <textarea id="replyContent-<?= $note->id ?>" name="content" required autocomplete="off"></textarea> </div> <div class="row"> <button class="primary"><?= __('writeReply.action') ?></button> |
