This commit is contained in:
Aevann1 2022-01-22 22:18:39 +02:00
parent 6124a06eb9
commit 417b35e8b3

View file

@ -77,8 +77,8 @@ function openReplyBox(id) {
if (text)
{
textarea.value = '>' + text
if (!textarea.value.endsWith('\n\n')) textarea.value += '\n\n'
textarea.value = textarea.value.replace(/\n\n/g,"\n\n>")
if (!textarea.value.endsWith('\n\n')) textarea.value += '\n\n'
}
element.classList.remove('d-none')
textarea.focus()