Update IP count in original post form.
This commit is contained in:
parent
9b2ba8233f
commit
6d4d4e8ba6
@ -333,6 +333,11 @@ ThreadUpdater =
|
|||||||
else
|
else
|
||||||
Header.scrollTo root if root
|
Header.scrollTo root if root
|
||||||
|
|
||||||
|
# Update IP count in original post form.
|
||||||
|
if ipCountEl = $.id('unique-ips')
|
||||||
|
ipCountEl.textContent = OP.unique_ips
|
||||||
|
ipCountEl.nextSibling.nodeValue = ipCountEl.nextSibling.nodeValue.replace(/^( unique poster)s?/, if OP.unique_ips > 1 then '$1s' else '$1')
|
||||||
|
|
||||||
$.event 'ThreadUpdate',
|
$.event 'ThreadUpdate',
|
||||||
404: false
|
404: false
|
||||||
threadID: ThreadUpdater.thread.fullID
|
threadID: ThreadUpdater.thread.fullID
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user