Fucking syntax

This commit is contained in:
CatAClock 2025-06-30 11:09:21 -07:00
parent fdbcf3a129
commit b5ddb10d2b

View file

@ -175,7 +175,7 @@ async function GetPost() {
async function MastodonReplylFunction(ClassName, post) {
let OtherPost = await MastodonAPI.GetStatus(post);
document.getElementsByClassName("Origin " + ClassName)[0].innerHTML = website;
document.getElementsByClassName("Handle " + ClassName)[0].innerHTML = post.account.acct;
document.getElementsByClassName("Handle " + ClassName)[0].innerHTML = OtherPost.account.acct;
if (OtherPost.spoiler_text != "") {
document.getElementsByClassName("PostText " + ClassName)[0].innerHTML = "WARNING: " + OtherPost.spoiler_text;
} else {
@ -185,6 +185,7 @@ async function MastodonReplylFunction(ClassName, post) {
ApplyMedia(i, document.getElementsByClassName("Images " + ClassName)[0]);
}
}
}
return OtherPost;
}