1
0
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:
chylex 2018-05-31 03:07:51 +02:00
parent 10254c8af7
commit d2445be155

View File

@ -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()){