Skip to content

Commit

Permalink
Cleaning.
Browse files Browse the repository at this point in the history
  • Loading branch information
pibako committed Sep 15, 2012
1 parent f332b27 commit 830ee5d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion assets/javascripts/script.coffee
Expand Up @@ -42,6 +42,6 @@ jQuery ->
$(this).click (event) ->
event.preventDefault()
$('html, body').animate
scrollTop: target.offset().top,
scrollTop: targetOffset,
1000, ->
location.hash = targetID
2 changes: 1 addition & 1 deletion assets/javascripts/script.js
Expand Up @@ -47,7 +47,7 @@
return $(this).click(function(event) {
event.preventDefault();
return $('html, body').animate({
scrollTop: target.offset().top
scrollTop: targetOffset
}, 1000, function() {
return location.hash = targetID;
});
Expand Down

0 comments on commit 830ee5d

Please sign in to comment.