tupali_fork/temas/landingpage/js/scripts.js

7 lines
155 B
JavaScript
Raw Permalink Normal View History

2017-03-04 01:52:25 +00:00
$(window).scroll(function() {
if ($(document).scrollTop() > 50) {
$('nav').addClass('shrink');
} else {
$('nav').removeClass('shrink');
}
});