not needed
This commit is contained in:
parent
55ea86d5cd
commit
d5e075cd1d
@ -274,7 +274,7 @@ Index =
|
|||||||
+window.location.pathname.split('/')[2] or 1
|
+window.location.pathname.split('/')[2] or 1
|
||||||
userPageNav: (pageNum) ->
|
userPageNav: (pageNum) ->
|
||||||
Index.pushState Conf['Index Mode'], pageNum
|
Index.pushState Conf['Index Mode'], pageNum
|
||||||
if Conf['Refreshed Navigation'] and Conf['Index Mode'] isnt 'all pages'
|
if Conf['Refreshed Navigation']
|
||||||
Index.update pageNum
|
Index.update pageNum
|
||||||
else
|
else
|
||||||
return if Index.currentPage is pageNum
|
return if Index.currentPage is pageNum
|
||||||
@ -283,7 +283,6 @@ Index =
|
|||||||
history.pushState {mode}, '', if pageNum is 1 then './' else pageNum
|
history.pushState {mode}, '', if pageNum is 1 then './' else pageNum
|
||||||
pageLoad: (pageNum) ->
|
pageLoad: (pageNum) ->
|
||||||
Index.currentPage = pageNum
|
Index.currentPage = pageNum
|
||||||
return if Conf['Index Mode'] is 'all pages'
|
|
||||||
Index.buildIndex()
|
Index.buildIndex()
|
||||||
Index.setPage()
|
Index.setPage()
|
||||||
Index.scrollToIndex()
|
Index.scrollToIndex()
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user