client/posts: skip thumbnail placeholder if fullsize image is in cache

This commit is contained in:
Eva
2025-04-01 02:36:20 +02:00
parent 289f8a87be
commit 14a4386561
4 changed files with 18 additions and 3 deletions

View File

@ -62,6 +62,7 @@ class HomeView {
this._postContentControl = new PostContentControl(
this._postContainerNode,
postInfo.featuredPost,
misc.isMediaCached(postInfo.featuredPost),
() => {
return [window.innerWidth * 0.8, window.innerHeight * 0.7];
},