This commit is contained in:
Aevann1 2022-01-22 22:19:41 +02:00
parent 6bf8b81928
commit a2cee3a2cc
2 changed files with 2 additions and 1 deletions

View file

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

View file

@ -864,7 +864,7 @@
{% if v %}
<script src="/static/assets/js/marked.js?a=220"></script>
<script src="/static/assets/js/comments_v.js?a=230"></script>
<script src="/static/assets/js/comments_v.js?a=231"></script>
{% endif %}
<script src="/static/assets/js/clipboard.js?a=220"></script>