Line 310: | Line 310: | ||
} | } | ||
− | if (window.pageYOffset < | + | if (window.pageYOffset < 200) { |
$('#TopBar').css('position', 'static'); | $('#TopBar').css('position', 'static'); | ||
$('#TopBar').css('margin-top', '-1rem'); | $('#TopBar').css('margin-top', '-1rem'); | ||
Line 320: | Line 320: | ||
$(window).scroll(function() { | $(window).scroll(function() { | ||
− | if(window.pageYOffset < | + | if(window.pageYOffset < 200) { |
$('#TopBar').css('position', 'static'); | $('#TopBar').css('position', 'static'); | ||
$('#TopBar').css('margin-top', '-1rem'); | $('#TopBar').css('margin-top', '-1rem'); |
Revision as of 18:16, 25 July 2017