From 26d00bf7ad63c60461d4e286098b956ae43203e9 Mon Sep 17 00:00:00 2001 From: ccd0 Date: Sat, 20 Sep 2014 07:29:42 -0700 Subject: [PATCH] scroll to navlinks on refresh --- src/General/Index.coffee | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/General/Index.coffee b/src/General/Index.coffee index 1a887e054..9810723f6 100644 --- a/src/General/Index.coffee +++ b/src/General/Index.coffee @@ -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