Pages start at 1
Warn when on the last page, not second-to-last
This commit is contained in:
parent
748488b1e8
commit
d9bcd96360
@ -45,5 +45,5 @@ ThreadStats =
|
||||
for thread in page.threads
|
||||
if thread.no is ThreadStats.thread.ID
|
||||
ThreadStats.pageCountEl.textContent = page.page
|
||||
(if page.page is @response.length - 1 then $.addClass else $.rmClass) ThreadStats.pageCountEl, 'warning'
|
||||
(if page.page is @response.length then $.addClass else $.rmClass) ThreadStats.pageCountEl, 'warning'
|
||||
return
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user