vcxxcv
This commit is contained in:
parent
72b9d5103c
commit
3765aa1da8
2 changed files with 2 additions and 2 deletions
|
@ -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()
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue