|
|
@ -12,7 +12,7 @@ App.init = -> |
|
|
$target = $(this.hash) |
|
|
$target = $(this.hash) |
|
|
if $target.length |
|
|
if $target.length |
|
|
$(this).click -> |
|
|
$(this).click -> |
|
|
$('html, body').animate({scrollTop: $target.offset().top}, 1000) |
|
|
|
|
|
|
|
|
$('html, body').animate({scrollTop: $target.offset().top+1}, 1000) |
|
|
return false |
|
|
return false |
|
|
|
|
|
|
|
|
App.scroll = -> |
|
|
App.scroll = -> |
|
|
|