This commit is contained in:
Aevann1 2022-01-22 22:12:15 +02:00
parent 8034683ecc
commit d34bd96091
2 changed files with 2 additions and 2 deletions

View file

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

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=224"></script>
<script src="/static/assets/js/comments_v.js?a=225"></script>
{% endif %}
<script src="/static/assets/js/clipboard.js?a=220"></script>