add links
This commit is contained in:
parent
cd8df4c826
commit
2873707e50
3 changed files with 5 additions and 3 deletions
|
|
@ -161,7 +161,7 @@ document.querySelector('button#add-comment').addEventListener('click', event =>
|
|||
`
|
||||
comment.querySelector('.name').innerText = response.name
|
||||
comment.querySelector('.date').innerText = response.date
|
||||
comment.querySelector('.text').innerText = response.text
|
||||
comment.querySelector('.text').innerHTML = response.text
|
||||
document.querySelector('.comments .comments-content').append(comment)
|
||||
document.querySelector('.add-comment textarea').value = ''
|
||||
if (!user.username) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue