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 96375c1..6272c16 100644
--- a/templates/note/reply_form.php
+++ b/templates/note/reply_form.php
@@ -32,7 +32,8 @@ $selectedScope = $note->privacy->scope->value;
<input type="text" id="replySummary-<?= $note->id ?>" name="summary" autocomplete="off"
value="<?= $summaryText ?>" placeholder="<?= __('writeNote.summary.label') ?>">
<textarea id="replyContent-<?= $note->id ?>" name="content" required autocomplete="off"
- placeholder="<?= __('writeReply.placeholder') ?>"></textarea>
+ placeholder="<?= __('writeReply.placeholder') ?>"
+ _="on keydown[ctrlKey and key is 'Enter'] set b to #replySubmitButton-<?= $note->id ?> then b.click()"></textarea>
<?php call_template('formatting_hint'); ?>
</div>
<details>