From 07fb5d27cd512f73363c16bd005d633ddb41bcbd Mon Sep 17 00:00:00 2001 From: Baroncini Date: Tue, 26 Nov 2024 15:13:18 +0100 Subject: [PATCH] fix contact navbar scrolling --- index.html | 2 +- main.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/index.html b/index.html index 0dbfb85..c8a49a5 100644 --- a/index.html +++ b/index.html @@ -44,7 +44,7 @@ - + diff --git a/main.js b/main.js index 554f883..018dd8b 100644 --- a/main.js +++ b/main.js @@ -78,7 +78,7 @@ function activeMove() { $(".proceedings-li").addClass("active"); $(".contact-li").removeClass("active"); } - if (windowPos > heightContacts) { + if (windowPos > heightContact) { $(".about-li").removeClass("active"); $(".cfp-li").removeClass("active"); $(".submission-li").removeClass("active");