From 9fa02fe15b17e089e6459e918680b1141b570b44 Mon Sep 17 00:00:00 2001 From: Blulupo Date: Sun, 27 Apr 2025 21:42:14 +0200 Subject: [PATCH] Fix Javascript --- static/js/{main.js => core.js} | 2 +- templates/index.html | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) rename static/js/{main.js => core.js} (97%) diff --git a/static/js/main.js b/static/js/core.js similarity index 97% rename from static/js/main.js rename to static/js/core.js index 20d892f..772b43c 100644 --- a/static/js/main.js +++ b/static/js/core.js @@ -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) { diff --git a/templates/index.html b/templates/index.html index 48e7521..3ad52cf 100644 --- a/templates/index.html +++ b/templates/index.html @@ -46,6 +46,6 @@ - + \ No newline at end of file