fix active scroll

This commit is contained in:
Tanner Nelson 2016-10-24 16:41:25 -04:00
parent 3976f10816
commit 059281b8f5
No known key found for this signature in database
GPG Key ID: 9C24375C64856B76
1 changed files with 5 additions and 0 deletions

View File

@ -127,6 +127,11 @@
}
});
// scroll to the active nav item
$("nav .scroll").animate({
scrollTop: $("nav .active").offset().top - 157
}, 0);
// var lastScrollTop = 0;
// $(window).scroll(function(event){
// var st = $(this).scrollTop();