minor cosmetic fix

remotes/1693176582716663532/tmp_refs/heads/watchparty
Aevann1 2022-11-12 10:16:45 +02:00
parent 9be721dcf4
commit 239d2e0c27
1 changed files with 1 additions and 1 deletions

View File

@ -72,8 +72,8 @@ function ToggleReplyBox(id) {
text = '> ' + text
text = text.replace(/\n/g,"\n> ").replace(/\*/g,"\\*")
text = text.replace(/\n> \n/g,"\n \n")
text = text.split('> Reply')[0]
if (!text.endsWith('\n')) text += '\n'
text = text.split('\n> Reply')[0]
textarea.value = text
}
textarea.focus()