more work starting 2.9

This commit is contained in:
nathan committed 2023-08-05 19:09:31 +00:00
1 parent 0cd379f653
commit ff1f32a698
9 files changed
+393 -11

No files matched your search

+8
View File
@@ -0,0 +1,8 @@
var navLinks = document.querySelectorAll("nav a");
for (var i = 0; i < navLinks.length; i++) {
var link = navLinks[i]
if (link.getAttribute('href') == window.location.pathname) {
link.classList.add("live");
break;
}
}