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

Fix media previews showing up in quoted tweet notifications

This commit is contained in:
chylex 2017-03-25 01:55:47 +01:00
parent 0e4c923c23
commit 1ebf3c9af2

View File

@ -55,6 +55,7 @@
html.css("border", "0");
html.find("footer").last().remove(); // apparently withTweetActions breaks for certain tweets, nice
html.find(".js-media").last().remove(); // and quoted tweets still show media previews, nice nice
html.find(".js-quote-detail").removeClass("is-actionable");
var url = html.find("time").first().children("a").first().attr("href") || "";