aboutsummaryrefslogtreecommitdiffhomepage
path: root/templates/note/reply_form.php
diff options
context:
space:
mode:
Diffstat (limited to 'templates/note/reply_form.php')
-rw-r--r--templates/note/reply_form.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/templates/note/reply_form.php b/templates/note/reply_form.php
index 2d8cfc3..cd67ce8 100644
--- a/templates/note/reply_form.php
+++ b/templates/note/reply_form.php
@@ -23,7 +23,8 @@ $selectedScope = $note->privacy->scope->value;
?>
<form class="noteReplyForm" id="replyForm-<?= $note->id ?>"
_="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">
+ hidden hx-post="/fragment/note/<?= $note->id ?>/reply" hx-disabled-elt="find button" hx-swap="outerHTML"
+ hx-target="this">
<div class="row summaryAndContent">
<label for="replyContent-<?= $note->id ?>"><?= __('writeReply.label') ?></label>
<input type="text" id="replySummary-<?= $note->id ?>" name="summary" autocomplete="off"