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.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/templates/note/reply_form.php b/templates/note/reply_form.php
index e51466d..96375c1 100644
--- a/templates/note/reply_form.php
+++ b/templates/note/reply_form.php
@@ -26,7 +26,7 @@ $selectedScope = $note->privacy->scope->value;
send toggle to #interactButton-reply-<?= $note->id ?>
then trigger update on #liveTimelineUpdater
on toggle or htmx:afterOnLoad toggle @hidden" hidden hx-post="/fragment/note/<?= $note->id ?>/reply"
- hx-disabled-elt="find button" hx-swap="outerHTML" hx-target="this">
+ hx-disabled-elt="#replySubmitButton-<?= $note->id ?>" 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"
@@ -58,6 +58,6 @@ $selectedScope = $note->privacy->scope->value;
</div>
</details>
<div class="row">
- <button class="primary"><?= __('writeReply.action') ?></button>
+ <button class="primary" id="replySubmitButton-<?= $note->id ?>"><?= __('writeReply.action') ?></button>
</div>
</form> \ No newline at end of file