From f4a18a4043751bfdada5079902b5b5b52d9af905 Mon Sep 17 00:00:00 2001 From: Gordon Pedersen Date: Thu, 23 May 2024 17:19:07 +1000 Subject: [PATCH] another fix --- weblog/B0. Template/js/fediverse.js.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/weblog/B0. Template/js/fediverse.js.md b/weblog/B0. Template/js/fediverse.js.md index 7335f0f..7a460f1 100644 --- a/weblog/B0. Template/js/fediverse.js.md +++ b/weblog/B0. Template/js/fediverse.js.md @@ -128,12 +128,13 @@ function renderReplies(status, replies, replyContainer, template) { article.querySelector('.avatar').src = reply.account.avatar article.querySelector('a.name').href = reply.account.url 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').innerText = luxon.DateTime.fromISO(reply.created_at).toRelative() article.querySelector('.reply-content').innerHTML = reply.content + article.querySelector('a.source').href = reply.url article.querySelector('.application').innerText = reply.application.name article.querySelector('.replies-count').innerText = reply.replies_count article.querySelector('.favourites-count').innerText = reply.favourites_count