This commit is contained in:
Aevann1 2022-01-22 19:18:37 +02:00
parent 72b9d5103c
commit 3765aa1da8
2 changed files with 2 additions and 2 deletions

View file

@ -73,7 +73,7 @@ function report_commentModal(id, author) {
function openReplyBox(id) {
const element = document.getElementById(id);
const textarea = element.getElementsByTagName('textarea')[0]
if (window.getSelection) textarea.value = '>' + window.getSelection().toString() + '\n\n'
if (window.getSelection) textarea.value = '>' + window.getSelection().toString()
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=222"></script>
<script src="/static/assets/js/comments_v.js?a=223"></script>
{% endif %}
<script src="/static/assets/js/clipboard.js?a=220"></script>