Line 11: | Line 11: | ||
document.getElementById("navbar").style.top = "0"; | document.getElementById("navbar").style.top = "0"; | ||
} | } | ||
+ | else { | ||
+ | document.getElementById("navbar").style.top = "-20px"; | ||
+ | } | ||
+ | |||
} | } | ||
Revision as of 12:28, 6 October 2018