Allow manual updating of page number in thread stats by clicking on it.

This commit is contained in:
ccd0 2015-05-26 19:42:09 -07:00
parent f92c309461
commit ae08a7e251
2 changed files with 5 additions and 0 deletions

View File

@ -874,6 +874,9 @@ span.hide-announcement {
:root.float #thread-stats {
padding: 0px 3px;
}
#page-count {
cursor: pointer;
}
/* Quote */
.catalog-thread > .comment > span.quote, #arc-list span.quote {

View File

@ -31,6 +31,8 @@ ThreadStats =
@ipCountEl = $ '#ip-count', sc
@pageCountEl = $ '#page-count', sc
$.on @pageCountEl, 'click', ThreadStats.fetchPage if @pageCountEl
Thread.callbacks.push
name: 'Thread Stats'
cb: @node