From 8d42e33f712daece080a95042ca40ba5586c4b1b Mon Sep 17 00:00:00 2001 From: Lim Chee Aun Date: Sun, 23 Apr 2023 08:55:22 +0800 Subject: [PATCH] Small tooltip for hashtag stuffing --- src/utils/enhance-content.js | 1 + 1 file changed, 1 insertion(+) diff --git a/src/utils/enhance-content.js b/src/utils/enhance-content.js index 29efa001..acd08a19 100644 --- a/src/utils/enhance-content.js +++ b/src/utils/enhance-content.js @@ -163,6 +163,7 @@ function enhanceContent(content, opts = {}) { ); if (hashtagStuffedParagraph) { hashtagStuffedParagraph.classList.add('hashtag-stuffing'); + hashtagStuffedParagraph.title = hashtagStuffedParagraph.innerText; } if (postEnhanceDOM) {