Fix infinite scroll skipping pages that were generated but removed. #434

This commit is contained in:
ccd0 2015-08-08 22:12:08 -07:00
parent 7af30852e1
commit b80e071ab9

View File

@ -412,7 +412,6 @@ Index =
"#{hiddenCount} hidden threads"
update: (state) ->
delete Index.pageNum
Index.req?.abort()
Index.notice?.close()
@ -635,6 +634,7 @@ Index =
Index.pushState {page}
Index.setPage()
nodes = Index.buildSinglePage Index.getCurrentPage()
delete Index.pageNum
$.rmAll Index.root
$.rmAll Header.hover
if Conf['Index Mode'] is 'catalog'