Commit 1f32c7714b266fd17e3308266310d7d9522cd752

Authored by Georg Hopp
1 parent e6bccd74

scroll 1 pixel ahead

@@ -12,7 +12,7 @@ App.init = -> @@ -12,7 +12,7 @@ App.init = ->
12 $target = $(this.hash) 12 $target = $(this.hash)
13 if $target.length 13 if $target.length
14 $(this).click -> 14 $(this).click ->
15 - $('html, body').animate({scrollTop: $target.offset().top}, 1000) 15 + $('html, body').animate({scrollTop: $target.offset().top+1}, 1000)
16 return false 16 return false
17 17
18 App.scroll = -> 18 App.scroll = ->
Please register or login to post a comment