Skip to content

Commit

Permalink
remove code i wanted to remove in an earlier commit
Browse files Browse the repository at this point in the history
git is confusing :c
  • Loading branch information
Vipra committed May 23, 2024
1 parent 03b2da4 commit 5af0bef
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions src/content_scripts/protoots.js
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 5af0bef

Please sign in to comment.