mirror of
https://github.com/ItsVipra/ProToots
synced 2024-11-21 19:13:03 +00:00
remove code i wanted to remove in an earlier commit
git is confusing :c
This commit is contained in:
parent
03b2da430d
commit
5af0befae1
1 changed files with 0 additions and 4 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue