This commit is contained in:
Aevann1 2022-01-22 19:18:37 +02:00
parent 72b9d5103c
commit 3765aa1da8
2 changed files with 2 additions and 2 deletions

View file

@ -73,7 +73,7 @@ function report_commentModal(id, author) {
function openReplyBox(id) {
const element = document.getElementById(id);
const textarea = element.getElementsByTagName('textarea')[0]
if (window.getSelection) textarea.value = '>' + window.getSelection().toString() + '\n\n'
if (window.getSelection) textarea.value = '>' + window.getSelection().toString()
element.classList.remove('d-none')
textarea.focus()
}