mirror of
https://gitlab.ub.uni-bielefeld.de/sfb1288inf/nopaque.git
synced 2025-06-12 09:00:40 +00:00
Update landing page
This commit is contained in:
@ -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");
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user