Difference between revisions of "Template:Melbourne"

Line 8: Line 8:
  
 
function scrollFunction() {
 
function scrollFunction() {
   if (document.body.scrollTop > 15 || document.documentElement.scrollTop > `5) {
+
   if (document.body.scrollTop > 15 || document.documentElement.scrollTop > 15) {
 
     document.getElementById("navbar").style.top = "0";
 
     document.getElementById("navbar").style.top = "0";
 
   }
 
   }

Revision as of 12:27, 6 October 2018