This commit is contained in:
Andras Schmelczer 2022-01-24 21:36:45 +01:00
parent 1b63bbc0da
commit 9f906d1fdf
No known key found for this signature in database
GPG key ID: 39260B5B0614A13E
13 changed files with 17 additions and 17 deletions

View file

@ -35,7 +35,7 @@ export class PageTimelineElement extends PageElement {
this.query('.info-button').addEventListener('click', this.toggleOpen.bind(this));
this.attachElementByReplacing('.figure', timelineElement.figure);
this.query('.description').innerText = timelineElement.description;
timelineElement.links.forEach(l => this.attachElementAsChildOf('.buttons', l));
timelineElement.links.forEach((l) => this.attachElementAsChildOf('.buttons', l));
this.isOpen = false;
}