mirror of
https://github.com/chylex/TweetDuck.git
synced 2025-04-19 00:15:50 +02:00
Increase quality of media previews in desktop notifications
This commit is contained in:
parent
17d762ce91
commit
13646d9c90
@ -128,7 +128,7 @@
|
|||||||
};
|
};
|
||||||
|
|
||||||
let fixMedia = (html, media) => {
|
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){
|
return function(column, tweet){
|
||||||
|
Loading…
Reference in New Issue
Block a user