Made event handlers attach after page load
Some checks failed
Build and Test - Staging / determine_version (pull_request) Successful in 29s
Playwright Tests / test (pull_request) Has been cancelled
Build and Test - Staging / test (pull_request) Has been cancelled
Build and Test - Staging / deploy_staging (pull_request) Has been cancelled
Build and Test - Staging / build_and_push (pull_request) Has been cancelled
Some checks failed
Build and Test - Staging / determine_version (pull_request) Successful in 29s
Playwright Tests / test (pull_request) Has been cancelled
Build and Test - Staging / test (pull_request) Has been cancelled
Build and Test - Staging / deploy_staging (pull_request) Has been cancelled
Build and Test - Staging / build_and_push (pull_request) Has been cancelled
This commit is contained in:
@@ -112,7 +112,7 @@ const limitByWidthClasses = "max-h-fit";
|
|||||||
|
|
||||||
if (this._slide && this._items.length > 0) this._carousel.cycle();
|
if (this._slide && this._items.length > 0) this._carousel.cycle();
|
||||||
|
|
||||||
this._attachHandlers()
|
window.addEventListener("load", this._attachHandlers);
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -39,7 +39,9 @@ const timeline: timelineEntry[] = Astro.props.timeline || [];
|
|||||||
constructor() {
|
constructor() {
|
||||||
super();
|
super();
|
||||||
this._eventElements = this._getNodeElements();
|
this._eventElements = this._getNodeElements();
|
||||||
this._paintLeaderLines();
|
|
||||||
|
|
||||||
|
window.addEventListener("load", this._paintLeaderLines);
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user