Fix 'Last Index Refresh' button refreshing twice when Refreshed Navigation is on. #375
This commit is contained in:
parent
f770c56a81
commit
d723885331
@ -263,8 +263,7 @@ Index =
|
|||||||
Index.userPageNav +a.pathname.split('/')[2] or 1
|
Index.userPageNav +a.pathname.split('/')[2] or 1
|
||||||
|
|
||||||
refreshFront: ->
|
refreshFront: ->
|
||||||
Index.userPageNav 1
|
Index.update Index.pushState {page: 1, scroll: true}
|
||||||
Index.update()
|
|
||||||
|
|
||||||
scrollToIndex: ->
|
scrollToIndex: ->
|
||||||
Header.scrollToIfNeeded Index.navLinks
|
Header.scrollToIfNeeded Index.navLinks
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user