Crude fix for text cutoff bug

This commit is contained in:
Andras Schmelczer 2022-09-25 21:01:54 +02:00
parent 653ca02534
commit f84bc07c86
No known key found for this signature in database
GPG key ID: 0EA1BC97D0AB076E

View file

@ -31,7 +31,7 @@ export class TimelineElement extends PageElement {
super.initialize();
if (titleToFragment(this.timelineElement.title) === window.location.hash) {
this.openMore();
setTimeout(this.openMore.bind(this), 100);
}
}
@ -63,7 +63,7 @@ export class TimelineElement extends PageElement {
private handleResize() {
if (this.isOpen) {
this.more.style.height = 'auto';
this.openMore();
setTimeout(this.openMore.bind(this), 100);
}
}
}