mirror of
https://github.com/chylex/TweetDuck.git
synced 2025-04-22 09:15:48 +02:00
Fix not removing date when screenshotting tweets with location data present
This commit is contained in:
parent
d7cdaf2870
commit
be76d9a6dc
@ -310,7 +310,7 @@
|
||||
setImportantProperty(selectedTweet.find(".js-tweet-media"), "margin-bottom", "0");
|
||||
selectedTweet.find(".js-translate-call-to-action").first().remove();
|
||||
selectedTweet.find(".js-tweet").first().nextAll().remove();
|
||||
selectedTweet.find("footer").last().prev().addBack().remove(); // footer & date
|
||||
selectedTweet.find("footer").last().prevUntil(":not(.txt-mute.txt-small)").addBack().remove(); // footer, date, location
|
||||
}
|
||||
else{
|
||||
selectedTweet.find("footer").last().remove();
|
||||
|
Loading…
Reference in New Issue
Block a user