Skip to content

Commit

Permalink
- fixed scroll to top timeout
Browse files Browse the repository at this point in the history
  • Loading branch information
elartix committed Nov 10, 2014
1 parent fa109e9 commit 054334b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions public/assets/js/freelancer.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ $(function() {
var $anchor = $(this);
$('html, body').stop().animate({
scrollTop: $($anchor.attr('href')).offset().top
}, 1500, 'easeInOutExpo');
}, 300, 'easeInOutExpo');
event.preventDefault();
});
});
Expand All @@ -34,4 +34,4 @@ $('body').scrollspy({
// Closes the Responsive Menu on Menu Item Click
$('.navbar-collapse ul li a').click(function() {
$('.navbar-toggle:visible').click();
});
});

0 comments on commit 054334b

Please sign in to comment.