From 6eea6766aba60a8d1c4cb27a1d1cd1e06f2e2f3d 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 0afadeba..ad574b22 100644 --- a/routes/_components/Nav.html +++ b/routes/_components/Nav.html @@ -1,25 +1,25 @@