Changes

386 bytes removed ,  06:32, 29 May 2021
lag test
Line 62: Line 62:  
         $('#mw-content-container').css('background-size', 'cover')
 
         $('#mw-content-container').css('background-size', 'cover')
 
     })
 
     })
−
}
  −
  −
//Blurs header past certain scroll distance
  −
window.onscroll = function() {scrollFunction()};
  −
  −
function scrollFunction() {
  −
  if (document.body.scrollTop > 200 || document.documentElement.scrollTop > 200) {
  −
    document.getElementById("mw-header-container").classList.add("headerblur");
  −
  } else {
  −
    document.getElementById("mw-header-container").classList.remove("headerblur");
  −
  }
   
}
 
}