mirror of
https://github.com/chylex/TweetDuck.git
synced 2025-04-14 03:15:49 +02:00
Fix missing GIF previews in tweet screenshots
This commit is contained in:
parent
10254c8af7
commit
d2445be155
@ -707,6 +707,12 @@
|
||||
}
|
||||
}
|
||||
|
||||
let gif = html.find(".js-media-gif-container");
|
||||
|
||||
if (gif.length){
|
||||
gif.css("background-image", 'url("'+chirp.getMedia()[0].small()+'")');
|
||||
}
|
||||
|
||||
let type = chirp.getChirpType();
|
||||
|
||||
if ((type.startsWith("favorite") || type.startsWith("retweet")) && chirp.isAboutYou()){
|
||||
|
Loading…
Reference in New Issue
Block a user