bug fix
This commit is contained in:
parent
36cd843ecc
commit
9e1c507a8a
1 changed files with 2 additions and 1 deletions
|
@ -238,8 +238,9 @@ async function PosterContainerUpdate(Direction) {
|
||||||
} else if (MastodonLoadedFeed[CurrentThing + counter].reblog != null && typeof MastodonLoadedFeed[CurrentThing + counter].reblog == "string") {
|
} else if (MastodonLoadedFeed[CurrentThing + counter].reblog != null && typeof MastodonLoadedFeed[CurrentThing + counter].reblog == "string") {
|
||||||
// this function is if the changes are already made.
|
// this function is if the changes are already made.
|
||||||
i.getElementsByClassName("Username")[0].innerHTML = " ( R: " + MastodonLoadedFeed[CurrentThing + counter].reblog + " )";
|
i.getElementsByClassName("Username")[0].innerHTML = " ( R: " + MastodonLoadedFeed[CurrentThing + counter].reblog + " )";
|
||||||
}
|
} else {
|
||||||
i.getElementsByClassName("Username")[0].innerHTML = MastodonLoadedFeed[CurrentThing + counter].account.acct;
|
i.getElementsByClassName("Username")[0].innerHTML = MastodonLoadedFeed[CurrentThing + counter].account.acct;
|
||||||
|
}
|
||||||
// Check for images.
|
// Check for images.
|
||||||
if (MastodonLoadedFeed[CurrentThing + counter].media_attachments.length != 0) {
|
if (MastodonLoadedFeed[CurrentThing + counter].media_attachments.length != 0) {
|
||||||
if (MastodonLoadedFeed[CurrentThing + counter].media_attachments[0].type == "image") {
|
if (MastodonLoadedFeed[CurrentThing + counter].media_attachments[0].type == "image") {
|
||||||
|
|
Loading…
Add table
Reference in a new issue