add links

This commit is contained in:
j 2023-09-26 19:44:38 +02:00
commit 2873707e50
3 changed files with 5 additions and 3 deletions

View file

@ -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) {