Fix watched thread following not updating the number in the page list.

This commit is contained in:
ccd0 2015-07-18 20:43:16 -07:00
parent eb116cf476
commit 86ff39a8c7

View File

@ -631,7 +631,9 @@ Index =
i = 0
i++ while Index.followedThreadID isnt Get.threadFromRoot(Index.sortedNodes[i]).ID
page = i // Index.threadsNumPerPage + 1
Index.pushState {page} if page isnt Index.getCurrentPage()
if page isnt Index.getCurrentPage()
Index.pushState {page}
Index.setPage()
nodes = Index.buildSinglePage Index.getCurrentPage()
$.rmAll Index.root
$.rmAll Header.hover