Improve scroll position save/restore mechanism

This commit is contained in:
Simon Ser
2021-03-02 20:48:49 +01:00
parent 6c40561f61
commit a83d3f7425
3 changed files with 31 additions and 28 deletions

View File

@@ -118,7 +118,7 @@ class LogLine extends Component {
}
return html`
<div class="logline ${lineClass}">
<div class="logline ${lineClass}" data-key=${msg.key}>
<${Timestamp} date=${new Date(msg.tags.time)} url=${getMessageURL(this.props.buffer, msg)}/>
${" "}
${content}