fix(website): fix scroll-spy selector to match bare hash hrefs
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -190,7 +190,7 @@
|
||||
/* 7. Active nav link (landing page) */
|
||||
/* -------------------------------------------------- */
|
||||
function initActiveNav() {
|
||||
var navLinks = document.querySelectorAll('.nav-link[href^="index.html#"]');
|
||||
var navLinks = document.querySelectorAll('.nav-link[href^="#"]');
|
||||
if (!navLinks.length) return;
|
||||
|
||||
/* only run on landing page */
|
||||
|
||||
Reference in New Issue
Block a user