From f76dc766a83716e6fd1feb215361194b03122ddc Mon Sep 17 00:00:00 2001 From: Madelena Mak Date: Sun, 30 Jun 2024 08:27:27 -0400 Subject: [PATCH] Fix for #33477 (#33479) --- source/_includes/javascripts/scripts.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/_includes/javascripts/scripts.html b/source/_includes/javascripts/scripts.html index 649d2630201..b3ce054edf1 100644 --- a/source/_includes/javascripts/scripts.html +++ b/source/_includes/javascripts/scripts.html @@ -23,7 +23,7 @@ document.querySelector('.site-title').addEventListener('contextmenu', function(e const changeNavColor = () => { const scrollPosition = document.documentElement.scrollTop; const nav = document.querySelector("header"); - if (scrollPosition <= 10) { + if (scrollPosition <= 1) { nav.classList.add("dark"); } else { nav.classList.remove("dark");