landingpage_tupale/scripts.js
2017-03-03 09:02:40 -05:00

7 lines
155 B
JavaScript

$(window).scroll(function() {
if ($(document).scrollTop() > 50) {
$('nav').addClass('shrink');
} else {
$('nav').removeClass('shrink');
}
});