forked from e621ng/e621ng
[Thumbnails] Fix an issue caused by the avatar having an invalid value (#748)
This commit is contained in:
parent
28ebc378e0
commit
84dcafc8c8
@ -15,14 +15,14 @@ Thumbnails.initialize = function () {
|
||||
const postID = $post.data("id");
|
||||
if (!postID) {
|
||||
clearPlaceholder($post);
|
||||
return;
|
||||
continue;
|
||||
}
|
||||
|
||||
// Data exists for this post
|
||||
const postData = postsData[postID];
|
||||
if (!postData) {
|
||||
clearPlaceholder($post);
|
||||
return;
|
||||
continue;
|
||||
}
|
||||
|
||||
// Add data to cache right away, instead of
|
||||
|
Loading…
Reference in New Issue
Block a user