in js/scripts.js [4:23]
$('a[href*="#"]:not([href="#"]):not([href="#skip"])').click(function(){
if (location.pathname.replace(/^\//,'') == this.pathname.replace(/^\//,'') && location.hostname == this.hostname) {
var target = $(this.hash);
target = target.length ? target : $('[name=' + this.hash.slice(1) +']');
if (target.length && window.innerWidth > 900) {
$('html, body').animate({
scrollTop: (target.offset().top - 120)
}, 1000);
return false;
} else {
$('html, body').animate({
scrollTop: (target.offset().top - 100)
}, 1000);
return false;
}
}
});