Fix Javascript
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
// Navbar color change on scroll
|
||||
// Navbar color change on scroll
|
||||
window.addEventListener('scroll', function() {
|
||||
const navbar = document.getElementById('navbar');
|
||||
if (window.scrollY > 50) {
|
||||
Reference in New Issue
Block a user