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
|
||||
|
||||
refreshFront: ->
|
||||
Index.userPageNav 1
|
||||
Index.update()
|
||||
Index.update Index.pushState {page: 1, scroll: true}
|
||||
|
||||
scrollToIndex: ->
|
||||
Header.scrollToIfNeeded Index.navLinks
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user