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

Increase quality of media previews in desktop notifications

This commit is contained in:
chylex 2017-11-09 17:08:39 +01:00
parent 17d762ce91
commit 13646d9c90

View File

@ -128,7 +128,7 @@
};
let fixMedia = (html, media) => {
return html.find(".js-media a[data-media-entity-id='"+media.mediaId+"']").css("background-image", 'url("'+media.thumb()+'")').removeClass("is-zoomable");
return html.find(".js-media a[data-media-entity-id='"+media.mediaId+"']").css("background-image", 'url("'+media.small()+'")').removeClass("is-zoomable");
};
return function(column, tweet){