From 5af0befae1039825b44a114d8042d79ea14a7a78 Mon Sep 17 00:00:00 2001 From: Vipra Date: Thu, 23 May 2024 10:53:56 +0200 Subject: [PATCH] remove code i wanted to remove in an earlier commit git is confusing :c --- src/content_scripts/protoots.js | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/content_scripts/protoots.js b/src/content_scripts/protoots.js index 633ed9b..e863cae 100644 --- a/src/content_scripts/protoots.js +++ b/src/content_scripts/protoots.js @@ -152,10 +152,6 @@ function addtoTootObserver(ActionElement, tootObserver) { // console.log(ActionElement); if (ActionElement.hasAttribute("protoots-tracked")) return; - // special case for Mastodon v4.3 where "status__wrapper" are created - // as "status focusable" after navigating back to timeline - if (hasClasses(ActionElement, "status") && hasClasses(ActionElement, "focusable")) return; - addTypeAttribute(ActionElement); ActionElement.setAttribute("protoots-tracked", "true"); tootObserver.observe(ActionElement);