scroll to navlinks on refresh

This commit is contained in:
ccd0 2014-09-20 07:29:42 -07:00
parent e3add27757
commit 26d00bf7ad

View File

@ -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