mirror of
https://github.com/Theodor-Springmann-Stiftung/kgpz_web.git
synced 2025-10-29 09:05:30 +00:00
Better Akteure Logik
This commit is contained in:
@@ -13,9 +13,9 @@ export class AkteureScrollspy extends HTMLElement {
|
||||
|
||||
connectedCallback() {
|
||||
// Small delay to ensure DOM is fully rendered after HTMX swap
|
||||
setTimeout(() => {
|
||||
window.ExecuteNextSettle(() => {
|
||||
this.initializeScrollspyAfterDelay();
|
||||
}, 100);
|
||||
});
|
||||
}
|
||||
|
||||
initializeScrollspyAfterDelay() {
|
||||
|
||||
Reference in New Issue
Block a user