aboutsummaryrefslogtreecommitdiffhomepage
path: root/templates/note/reply_button.php
diff options
context:
space:
mode:
Diffstat (limited to 'templates/note/reply_button.php')
-rw-r--r--templates/note/reply_button.php7
1 files changed, 5 insertions, 2 deletions
diff --git a/templates/note/reply_button.php b/templates/note/reply_button.php
index dadc121..de4cb1b 100644
--- a/templates/note/reply_button.php
+++ b/templates/note/reply_button.php
@@ -7,7 +7,10 @@ $icon = $note->inReplyTo == null ? 'reply' : 'reply-all';
$id = "interactButton-reply-$note->id";
?>
<div class="interactButtonContainer reply">
- <button title="<?= __('note.action.reply') ?>" class="material-symbols <?= $icon ?>" id="<?= $id ?>" <?= ($disabled ?? false) ? 'disabled' : '' ?>
- _="on click send toggle to [me, next .noteReplyForm] on toggle toggle .active on closest <div/>"></button>
+ <button title="<?= __('note.action.reply') ?>" class="material-symbols <?= $icon ?>" id="<?= $id ?>" <?= ($disabled ?? false) ? 'disabled' : '' ?> _="
+ on click
+ send toggle to [me, next .noteReplyForm]
+ tell next <textarea/> js(you) you.focus() end
+ on toggle toggle .active on closest <div/>"></button>
<label for="<?= $id ?>"><?= $count ?? '' ?></label>
</div> \ No newline at end of file