This commit is contained in:
parent
7bbd151a98
commit
f4a18a4043
1 changed files with 2 additions and 1 deletions
|
@ -128,12 +128,13 @@ function renderReplies(status, replies, replyContainer, template) {
|
||||||
article.querySelector('.avatar').src = reply.account.avatar
|
article.querySelector('.avatar').src = reply.account.avatar
|
||||||
article.querySelector('a.name').href = reply.account.url
|
article.querySelector('a.name').href = reply.account.url
|
||||||
article.querySelector('.name').innerText = reply.account.display_name
|
article.querySelector('.name').innerText = reply.account.display_name
|
||||||
article.querySelector('a.source').href = reply.url
|
article.querySelector('a.permalink').href = reply.url
|
||||||
article.querySelector('time.dt-published').datetime = reply.created_at
|
article.querySelector('time.dt-published').datetime = reply.created_at
|
||||||
article.querySelector('time.dt-published').innerText = luxon.DateTime.fromISO(reply.created_at).toRelative()
|
article.querySelector('time.dt-published').innerText = luxon.DateTime.fromISO(reply.created_at).toRelative()
|
||||||
|
|
||||||
article.querySelector('.reply-content').innerHTML = reply.content
|
article.querySelector('.reply-content').innerHTML = reply.content
|
||||||
|
|
||||||
|
article.querySelector('a.source').href = reply.url
|
||||||
article.querySelector('.application').innerText = reply.application.name
|
article.querySelector('.application').innerText = reply.application.name
|
||||||
article.querySelector('.replies-count').innerText = reply.replies_count
|
article.querySelector('.replies-count').innerText = reply.replies_count
|
||||||
article.querySelector('.favourites-count').innerText = reply.favourites_count
|
article.querySelector('.favourites-count').innerText = reply.favourites_count
|
||||||
|
|
Loading…
Reference in a new issue