From 3ba54e16536f007a90e148d60543191c84dbe2fd Mon Sep 17 00:00:00 2001 From: "Max L." Date: Thu, 23 Nov 2023 22:06:42 +0100 Subject: [PATCH] Display full account name --- script.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/script.js b/script.js index f31ddf3..b87dded 100644 --- a/script.js +++ b/script.js @@ -113,7 +113,7 @@ const displayPost = function(post) {
-

${DOMPurify.sanitize(post.account.display_name)} @${DOMPurify.sanitize(post.account.username)}

+

${DOMPurify.sanitize(post.account.display_name)} @${DOMPurify.sanitize(post.account.acct)}

${post.media_attachments[0] ? `` : ''}

${DOMPurify.sanitize(post.content)}

@@ -179,7 +179,7 @@ const updateCarousel = function(slides, posts) {
-

${DOMPurify.sanitize(post.account.display_name)} @${DOMPurify.sanitize(post.account.username)}

+

${DOMPurify.sanitize(post.account.display_name)} @${DOMPurify.sanitize(post.account.acct)}