Run lint
This commit is contained in:
parent
1b63bbc0da
commit
9f906d1fdf
13 changed files with 17 additions and 17 deletions
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -17,7 +17,7 @@ export class PageTimeline extends PageElement {
|
|||
elements: Array<TimelineElementParameters>;
|
||||
}) {
|
||||
super(createElement(generate()));
|
||||
elements.forEach(e =>
|
||||
elements.forEach((e) =>
|
||||
this.attachElement(new PageTimelineElement(e, showMoreText, showLessText))
|
||||
);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue