1
0
mirror of https://github.com/chylex/TweetDuck.git synced 2025-04-13 18:15:48 +02:00

Fix like/retweet notifications having invisible space with notification media previews disabled

This commit is contained in:
chylex 2017-08-01 16:59:25 +02:00
parent f04cdb6a13
commit fbc423e2a7

View File

@ -165,6 +165,9 @@
}
}
}
else if (tweet instanceof TD.services.TwitterActionOnTweet){
html.find(".js-media").remove();
}
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;