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

Update tweet detail screenshot code to work with recent TweetDeck changes

This commit is contained in:
chylex 2017-03-13 23:38:50 +01:00
parent 47afa32902
commit 9ec1764194

View File

@ -304,8 +304,8 @@
if (isDetail){
setImportantProperty(selectedTweet.find(".js-tweet-media"), "margin-bottom", "0");
selectedTweet.find(".js-translate-call-to-action").first().remove();
selectedTweet.find(".js-cards-container").first().nextAll().remove();
selectedTweet.find(".js-detail-view-inline").first().remove();
selectedTweet.find(".js-tweet").first().nextAll().remove();
selectedTweet.find("footer").last().prev().addBack().remove(); // footer & date
}
else{
selectedTweet.find("footer").last().remove();