mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2025-03-26 03:03:32 +01:00
Added marked as current
This commit is contained in:
parent
e6fa74df61
commit
af27d50214
@ -34,6 +34,7 @@
|
||||
if (href && href.trim().startsWith("#")) {
|
||||
if (href.trim() === currentHash.trim()) {
|
||||
console.log("initCurrentNav: Match found for hash-only link:", href);
|
||||
link.classList.add("current");
|
||||
markAsCurrent(link);
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user