more work starting 2.9
This commit is contained in:
1 parent
0cd379f653
commit
ff1f32a698
9 files changed
+393
-11
No files matched your search
Executable
+8
@@ -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;
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user