Fix infinite scroll skipping pages that were generated but removed. #434
This commit is contained in:
parent
7af30852e1
commit
b80e071ab9
@ -412,7 +412,6 @@ Index =
|
|||||||
"#{hiddenCount} hidden threads"
|
"#{hiddenCount} hidden threads"
|
||||||
|
|
||||||
update: (state) ->
|
update: (state) ->
|
||||||
delete Index.pageNum
|
|
||||||
Index.req?.abort()
|
Index.req?.abort()
|
||||||
Index.notice?.close()
|
Index.notice?.close()
|
||||||
|
|
||||||
@ -635,6 +634,7 @@ Index =
|
|||||||
Index.pushState {page}
|
Index.pushState {page}
|
||||||
Index.setPage()
|
Index.setPage()
|
||||||
nodes = Index.buildSinglePage Index.getCurrentPage()
|
nodes = Index.buildSinglePage Index.getCurrentPage()
|
||||||
|
delete Index.pageNum
|
||||||
$.rmAll Index.root
|
$.rmAll Index.root
|
||||||
$.rmAll Header.hover
|
$.rmAll Header.hover
|
||||||
if Conf['Index Mode'] is 'catalog'
|
if Conf['Index Mode'] is 'catalog'
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user