diff --git a/source/_layouts/landingpage.html b/source/_layouts/landingpage.html
index 9d3d3a576e5..e2784ce447f 100644
--- a/source/_layouts/landingpage.html
+++ b/source/_layouts/landingpage.html
@@ -81,17 +81,10 @@ layout: page
"scroll",
function (e) {
const header = document.querySelector(".site-header");
- const fab = document.querySelector(".fab");
if (e.currentTarget.scrollTop > 180) {
header.style.backgroundColor = "#ffffff";
- if (fab) {
- fab.style.display = "flex";
- }
} else {
header.style.backgroundColor = "#ffffff66";
- if (fab) {
- fab.style.display = "none";
- }
}
},
{ passive: true, capture: true }