diff options
| author | winter | 2025-03-20 22:38:46 +0000 |
|---|---|---|
| committer | winter | 2025-03-20 22:38:46 +0000 |
| commit | 09c3faf3e74df67de8e199bbe9c63952718f860f (patch) | |
| tree | d372b35f1664ba01c96b53637b9c801f24aeb381 /templates/note | |
| parent | 9828bc9f61ac6fb679599303eedc8cba46be4fae (diff) | |
also fix the reply submit button oops
Diffstat (limited to 'templates/note')
| -rw-r--r-- | templates/note/reply_form.php | 4 |
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 |
