Line 36: | Line 36: | ||
var currentScrollPos = window.pageYOffset; | var currentScrollPos = window.pageYOffset; | ||
if (prevScrollpos > currentScrollPos) { | if (prevScrollpos > currentScrollPos) { | ||
− | document.getElementById("navbar").style.top = " | + | document.getElementById("navbar").style.top = "10"; |
$(".dropdown").removeClass("nomouse"); | $(".dropdown").removeClass("nomouse"); | ||
if(!$(".dropdown").is(":visible")) | if(!$(".dropdown").is(":visible")) |
Revision as of 07:18, 13 October 2018