diff --git a/assets/js/webmention-utils.mjs b/assets/js/webmention-utils.mjs index fb5b116..0e3cbb2 100644 --- a/assets/js/webmention-utils.mjs +++ b/assets/js/webmention-utils.mjs @@ -3,7 +3,8 @@ export function renderMentions(mentions, rootSelector) { mentions = mentions.filter((m) => m["wm-private"] !== true); if (mentions.filter((m) => m.author.name !== "Ayo Ayco").length) - webMentionsSection.innerHTML = "

From Across the Web

"; + webMentionsSection.innerHTML = + "

From Across the Web

"; const heading = { "like-of": "👍 {x} Likes", @@ -13,7 +14,7 @@ export function renderMentions(mentions, rootSelector) { "in-reply-to": "💬 {x} Replies", }; - ["like-of", "repost-of", "bookmark-of", "mention-of"].forEach((type) => { + ["like-of", "repost-of", "bookmark-of"].forEach((type) => { const mentionsOfType = mentions .filter((m) => m.author.name !== "Ayo Ayco") .filter((m) => m["wm-property"] === type); @@ -24,7 +25,7 @@ export function renderMentions(mentions, rootSelector) { } }); - ["in-reply-to"].forEach((type) => { + ["in-reply-to", "mention-of"].forEach((type) => { const replies = mentions.filter((m) => m["wm-property"] === type); if (replies.length) {