mirror of
https://gitlab.ub.uni-bielefeld.de/sfb1288inf/nopaque.git
synced 2026-10-02 15:31:11 +00:00
Update landing page
This commit is contained in:
1 parent
1314993a60
commit
8166ca840b
3 files changed
+88
-17
No files matched your search
@@ -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