mirror of
https://github.com/chylex/TweetDuck.git
synced 2025-04-17 03:15:47 +02:00
Remove drop down button from follow notifications
This commit is contained in:
parent
ac245f5128
commit
6f4a99a7cb
@ -147,8 +147,13 @@
|
|||||||
html.find("a[href='#']").each(function(){ // remove <a> tags around links that don't lead anywhere (such as account names the tweet replied to)
|
html.find("a[href='#']").each(function(){ // remove <a> tags around links that don't lead anywhere (such as account names the tweet replied to)
|
||||||
this.outerHTML = this.innerHTML;
|
this.outerHTML = this.innerHTML;
|
||||||
});
|
});
|
||||||
|
|
||||||
if (tweet.getChirpType().includes("list_member")){
|
let type = tweet.getChirpType();
|
||||||
|
|
||||||
|
if (type === "follow"){
|
||||||
|
html.find(".js-user-actions-menu").parent().remove();
|
||||||
|
}
|
||||||
|
else if (type.includes("list_member")){
|
||||||
html.find(".activity-header").first().css("margin-top", "2px");
|
html.find(".activity-header").first().css("margin-top", "2px");
|
||||||
html.find(".avatar").first().css("margin-bottom", "0");
|
html.find(".avatar").first().css("margin-bottom", "0");
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user