From 55782a5331062bae01019c822849abd73ccdf0ea Mon Sep 17 00:00:00 2001 From: Nolan Lawson Date: Tue, 10 Apr 2018 22:51:42 -0700 Subject: [PATCH] detect "selected" when doing smooth scroll to top --- routes/_components/Nav.html | 21 ++++++------------- routes/_components/NavItem.html | 21 +++++++++++++++---- .../scroll.js => _utils/smoothScrollToTop.js} | 3 ++- 3 files changed, 25 insertions(+), 20 deletions(-) rename routes/{_actions/scroll.js => _utils/smoothScrollToTop.js} (75%) diff --git a/routes/_components/Nav.html b/routes/_components/Nav.html index 0afadeb..ad574b2 100644 --- a/routes/_components/Nav.html +++ b/routes/_components/Nav.html @@ -1,25 +1,25 @@