new_posts_ajax_stuff #1

Merged
0 merged 27 commits from new_posts_ajax_stuff into deploy_spamnoticer 2024-02-26 20:13:30 +00:00
1 changed files with 1 additions and 1 deletions
Showing only changes of commit d9a2cd78e0 - Show all commits

View File

@ -71,7 +71,7 @@ $().ready(() => {
if (res.ok) {
const dom = parser.parseFromString(await res.text(), "text/html")
const livePCList = Array.prototype.map.apply(dom.querySelectorAll(`#thread_${threadPost.getInfo().getThreadId()} > .postcontainer`), [ pc => LCNPostContainer.assign(pc) ])
const documentPCList = threadReplies.map(p => p.getParent())
const documentPCList = [ threadPost, ...threadReplies.map(p => p.getParent()) ]
const missingPCList = []
for (const pc of livePCList.reverse()) {