vcxvxc
This commit is contained in:
parent
a2cee3a2cc
commit
095db50933
2 changed files with 2 additions and 3 deletions
|
@ -77,9 +77,8 @@ function openReplyBox(id) {
|
||||||
if (text)
|
if (text)
|
||||||
{
|
{
|
||||||
textarea.value = '>' + text
|
textarea.value = '>' + text
|
||||||
textarea.value = textarea.value.replace(/\n\n/g,"\n\n>")
|
textarea.value = textarea.value.replace(/\n\n([^$])/g,"\n\n>$1")
|
||||||
if (!textarea.value.endsWith('\n\n')) textarea.value += '\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')
|
element.classList.remove('d-none')
|
||||||
textarea.focus()
|
textarea.focus()
|
||||||
|
|
|
@ -864,7 +864,7 @@
|
||||||
|
|
||||||
{% if v %}
|
{% if v %}
|
||||||
<script src="/static/assets/js/marked.js?a=220"></script>
|
<script src="/static/assets/js/marked.js?a=220"></script>
|
||||||
<script src="/static/assets/js/comments_v.js?a=231"></script>
|
<script src="/static/assets/js/comments_v.js?a=232"></script>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
<script src="/static/assets/js/clipboard.js?a=220"></script>
|
<script src="/static/assets/js/clipboard.js?a=220"></script>
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue