tupali/temas/landingpage/js/scripts.js
2017-03-03 20:52:25 -05:00

7 lines
155 B
JavaScript

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