Overall Season Classification
Overall Season Classification
| Pos |
Rider |
Country |
Rnd 1 |
Rnd 2 |
Rnd 3 |
Rnd 4 |
Points |
Promotion |
8392128
document.addEventListener("DOMContentLoaded", () => {
const normPath = (s) => String(s || "").replace(/\/+$/, "");
const currentPath = normPath(window.location.pathname || "");
const links = document.querySelectorAll("#web-container #web-navbar-list a");
let active = null;
links.forEach((a) => {
try {
const href = a.getAttribute("href") || "";
const hrefPath = normPath(new URL(href, window.location.origin).pathname);
const isActive = hrefPath === currentPath;
a.classList.toggle("btn-primary", isActive);
a.classList.toggle("btn-outline-primary", !isActive);
if (isActive) {
a.setAttribute("aria-current", "page");
active = a;
} else {
a.removeAttribute("aria-current");
}
} catch (e) {}
});
if (active) {
active.scrollIntoView({ inline: "center", block: "nearest" });
}
});