fixed the mastodon reblog. Again
This commit is contained in:
parent
a5f49e7d79
commit
06770d107b
1 changed files with 1 additions and 1 deletions
|
@ -231,10 +231,10 @@ async function PosterContainerUpdate(Direction) {
|
|||
// Put the reblog into the regular post; Make changes as necessary.
|
||||
if (MastodonLoadedFeed[CurrentThing + counter].reblog != null && typeof MastodonLoadedFeed[CurrentThing + counter].reblog != "string") {
|
||||
// Fix a reblog issue.
|
||||
i.getElementsByClassName("Username")[0].innerHTML = MastodonLoadedFeed[CurrentThing + counter].reblog.account.acct + " ( R: " + MastodonLoadedFeed[CurrentThing + counter].account.acct + " )";
|
||||
let ReblogFix = MastodonLoadedFeed[CurrentThing + counter].account.acct;
|
||||
MastodonLoadedFeed[CurrentThing + counter] = MastodonLoadedFeed[CurrentThing + counter].reblog;
|
||||
MastodonLoadedFeed[CurrentThing + counter].reblog = ReblogFix;
|
||||
i.getElementsByClassName("Username")[0].innerHTML = ReblogFix + " ( R: " + MastodonLoadedFeed[CurrentThing + counter].reblog + " )";
|
||||
} else if (MastodonLoadedFeed[CurrentThing + counter].reblog != null && typeof MastodonLoadedFeed[CurrentThing + counter].reblog == "string") {
|
||||
// this function is if the changes are already made.
|
||||
i.getElementsByClassName("Username")[0].innerHTML = MastodonLoadedFeed[CurrentThing + counter].account.acct + " ( R: " + MastodonLoadedFeed[CurrentThing + counter].reblog + " )";
|
||||
|
|
Loading…
Add table
Reference in a new issue