thread_autoupdater.js: Use ip count from thread dom of /%b/catalog.json
This commit is contained in:
parent
61166cb4f1
commit
1f4c94fef1
|
@ -103,6 +103,7 @@ $().ready(() => {
|
|||
LCNPostContainer.all(dom.querySelector(`#thread_${threadPost.getInfo().getThreadId()}`)))
|
||||
|
||||
updateRepliesFn(thread, missingPCList)
|
||||
statUniqueIPs.innerText = dom.querySelector("#lcn-uniqueips").innerText
|
||||
}
|
||||
|
||||
const fetchThreadFn = async () => {
|
||||
|
@ -141,7 +142,6 @@ $().ready(() => {
|
|||
}
|
||||
|
||||
const threadEl = thread.getElement()
|
||||
statUniqueIPs.innerText = threadStats.unique_ips
|
||||
statReplies.innerText = thread.getReplies().length
|
||||
statFiles.innerText = threadEl.querySelectorAll(".files .file").length - threadEl.querySelectorAll(".files .file .post-image.deleted").length
|
||||
statPage.innerText = threadStats.page + 1
|
||||
|
|
Loading…
Reference in New Issue