fix firefox animate bug

This commit is contained in:
Brittany Chiang
2017-02-02 23:36:46 -05:00
parent fff1a24b7b
commit ce0b55cd4a
2 changed files with 2 additions and 2 deletions

View File

@@ -22,7 +22,7 @@ $(function() {
function smoothScroll(target) {
$('body').animate({ 'scrollTop': target.offset().top + 50 }, 500);
$('body, html').animate({ 'scrollTop': target.offset().top + 50 }, 500);
}
$('.scroll-down').on('click', function(ev) {