mirror of
https://github.com/Theodor-Springmann-Stiftung/kgpz_web.git
synced 2025-10-29 00:55:32 +00:00
Some refinements; anonymous authors
This commit is contained in:
@@ -11,7 +11,7 @@ class H extends HTMLElement {
|
||||
if (this.sections = document.querySelectorAll(".author-section"), this.navLinks = document.querySelectorAll(".scrollspy-link"), this.sections.length === 0 || this.navLinks.length === 0) {
|
||||
setTimeout(() => {
|
||||
this.sections = document.querySelectorAll(".author-section"), this.navLinks = document.querySelectorAll(".scrollspy-link"), this.sections.length > 0 && this.navLinks.length > 0 && this.initializeScrollspy();
|
||||
}, 200);
|
||||
}, 500);
|
||||
return;
|
||||
}
|
||||
this.initializeScrollspy();
|
||||
|
||||
Reference in New Issue
Block a user