remove code i wanted to remove in an earlier commit

git is confusing :c
This commit is contained in:
Vipra 2024-05-23 10:53:56 +02:00
parent 03b2da430d
commit 5af0befae1

View file

@ -152,10 +152,6 @@ function addtoTootObserver(ActionElement, tootObserver) {
// console.log(ActionElement); // console.log(ActionElement);
if (ActionElement.hasAttribute("protoots-tracked")) return; 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); addTypeAttribute(ActionElement);
ActionElement.setAttribute("protoots-tracked", "true"); ActionElement.setAttribute("protoots-tracked", "true");
tootObserver.observe(ActionElement); tootObserver.observe(ActionElement);