website-content-updates #7
@@ -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