From 06770d107b99200cb295ede528f315f1ad7f3ea9 Mon Sep 17 00:00:00 2001 From: CatAClock Date: Wed, 16 Jul 2025 21:47:55 -0700 Subject: [PATCH] fixed the mastodon reblog. Again --- src/HTTP/JS/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/HTTP/JS/index.js b/src/HTTP/JS/index.js index 8b2347e..6776113 100644 --- a/src/HTTP/JS/index.js +++ b/src/HTTP/JS/index.js @@ -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 + " )";