Update landing page

This commit is contained in:
Patrick Jentsch committed 2020-02-17 12:01:36 +01:00
1 parent 1314993a60
commit 8166ca840b
3 files changed
+88 -17

No files matched your search

+5 -6
View File
@@ -89,12 +89,11 @@ nopaque.navigation.init = function() {
}
}
tocElement = document.getElementById("roadmap");
if (!tocElement) {
return
}
for (let entry of tocElement.querySelectorAll("a")) {
if (entry.href === window.location.href) {
entry.classList.add("active");
if (tocElement) {
for (let entry of tocElement.querySelectorAll("a")) {
if (entry.href === window.location.href) {
entry.classList.add("active");
}
}
}
}