This commit is contained in:
CatAClock 2025-07-16 18:24:25 -07:00
parent 602a1a551b
commit 755e4f8d9f

View file

@ -123,15 +123,15 @@ async function GetPost() {
} }
} }
// Any replies? Give them the thing :3 // Any replies? Give them the thing :3
for (let i of document.getElementsByTagName("body")[0].children) { let TempID = 0;
if (i.hasAttribute("id")) { while (TempID != (NumberOfThreads - 1)) {
break; for (let i of document.getElementsByClassName(NumberOfThreads.toString())) {
}
let TempID = i.getAttribute("id");
i.onclick = (event) => { i.onclick = (event) => {
SetThreadPost(ThreadedPost[TempID], i); SetThreadPost(ThreadedPost[TempID], i);
} }
} }
TempID += 1;
}
} else if (website == "Bluesky") { } else if (website == "Bluesky") {
// Check for a reblog. // Check for a reblog.
if (post.hasOwnProperty("reason") && post.reason.$type == "app.bsky.feed.defs#reasonRepost") { if (post.hasOwnProperty("reason") && post.reason.$type == "app.bsky.feed.defs#reasonRepost") {