Line 44: | Line 44: | ||
$(window).on('scroll',function(){ | $(window).on('scroll',function(){ | ||
if($(window).scrollTop()){ | if($(window).scrollTop()){ | ||
− | $(' | + | $('nav').addClass('black'); |
}else { | }else { | ||
− | $(' | + | $('nav').removeClass('black'); |
} | } | ||
}) | }) |
Revision as of 18:11, 15 July 2019