diff --git a/index.twig b/index.twig index 8de270c..0042f05 100644 --- a/index.twig +++ b/index.twig @@ -188,7 +188,7 @@ */ function menuOpacity() { - const navbar = document.getElementById("navbar"); + const navbar = document.getElementById("radio"); let y = navbar.scrollTop; if (y > 10) { navbar.style.setProperty('--bs-bg-opacity', 1); @@ -198,9 +198,6 @@ } console.log(y); } - - -