mirror of
https://github.com/bitcoinresearchkit/brk.git
synced 2026-07-13 03:58:12 -07:00
website: redesign part 6
This commit is contained in:
+1
-1
@@ -27,7 +27,7 @@ function normalizePath(pathname) {
|
||||
function updateCurrentLink(pathname) {
|
||||
const currentPath = normalizePath(pathname);
|
||||
|
||||
for (const link of document.querySelectorAll("nav a")) {
|
||||
for (const link of document.querySelectorAll("body > header > nav a")) {
|
||||
const linkPath = new URL(/** @type {HTMLAnchorElement} */ (link).href)
|
||||
.pathname;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user