Leave IP count when threads become archived and updates lack IP count.
This commit is contained in:
parent
3f0981cb21
commit
79bc58fef4
@ -63,8 +63,8 @@ ThreadStats =
|
|||||||
{thread, postCountEl, fileCountEl, ipCountEl} = ThreadStats
|
{thread, postCountEl, fileCountEl, ipCountEl} = ThreadStats
|
||||||
postCountEl.textContent = postCount
|
postCountEl.textContent = postCount
|
||||||
fileCountEl.textContent = fileCount
|
fileCountEl.textContent = fileCount
|
||||||
if Conf["IP Count in Stats"]
|
if ipCount? and Conf["IP Count in Stats"]
|
||||||
ipCountEl.textContent = if ipCount? then ipCount else '?'
|
ipCountEl.textContent = ipCount
|
||||||
(if thread.postLimit and !thread.isSticky then $.addClass else $.rmClass) postCountEl, 'warning'
|
(if thread.postLimit and !thread.isSticky then $.addClass else $.rmClass) postCountEl, 'warning'
|
||||||
(if thread.fileLimit and !thread.isSticky then $.addClass else $.rmClass) fileCountEl, 'warning'
|
(if thread.fileLimit and !thread.isSticky then $.addClass else $.rmClass) fileCountEl, 'warning'
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user