scroll to navlinks on refresh
This commit is contained in:
parent
e3add27757
commit
26d00bf7ad
@ -258,7 +258,7 @@ Index =
|
||||
Index.userPageNav +a.pathname.split('/')[2] or 1
|
||||
|
||||
scrollToIndex: ->
|
||||
Header.scrollToIfNeeded Index.root
|
||||
Header.scrollToIfNeeded Index.navLinks
|
||||
|
||||
getCurrentPage: ->
|
||||
+window.location.pathname.split('/')[2] or 1
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user