diff --git a/app/assets/javascripts/parallax.coffee b/app/assets/javascripts/parallax.coffee index 44b2e3f..8ece624 100644 --- a/app/assets/javascripts/parallax.coffee +++ b/app/assets/javascripts/parallax.coffee @@ -12,7 +12,7 @@ App.init = -> $target = $(this.hash) if $target.length $(this).click -> - $('html, body').animate({scrollTop: $target.offset().top}, 1000) + $('html, body').animate({scrollTop: $target.offset().top+1}, 1000) return false App.scroll = ->