Allow manual updating of page number in thread stats by clicking on it.
This commit is contained in:
parent
f92c309461
commit
ae08a7e251
@ -874,6 +874,9 @@ span.hide-announcement {
|
|||||||
:root.float #thread-stats {
|
:root.float #thread-stats {
|
||||||
padding: 0px 3px;
|
padding: 0px 3px;
|
||||||
}
|
}
|
||||||
|
#page-count {
|
||||||
|
cursor: pointer;
|
||||||
|
}
|
||||||
|
|
||||||
/* Quote */
|
/* Quote */
|
||||||
.catalog-thread > .comment > span.quote, #arc-list span.quote {
|
.catalog-thread > .comment > span.quote, #arc-list span.quote {
|
||||||
|
|||||||
@ -31,6 +31,8 @@ ThreadStats =
|
|||||||
@ipCountEl = $ '#ip-count', sc
|
@ipCountEl = $ '#ip-count', sc
|
||||||
@pageCountEl = $ '#page-count', sc
|
@pageCountEl = $ '#page-count', sc
|
||||||
|
|
||||||
|
$.on @pageCountEl, 'click', ThreadStats.fetchPage if @pageCountEl
|
||||||
|
|
||||||
Thread.callbacks.push
|
Thread.callbacks.push
|
||||||
name: 'Thread Stats'
|
name: 'Thread Stats'
|
||||||
cb: @node
|
cb: @node
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user