mirror of https://github.com/vector-im/riot-web
Merge pull request #253 from matrix-org/rav/fix_jump_to_read_marker
Don't reload the DOM if we can jump straight to the RMpull/21833/head
commit
ec8fecb953
|
@ -444,6 +444,7 @@ var TimelinePanel = React.createClass({
|
|||
// the relevant event.
|
||||
this.refs.messagePanel.scrollToEvent(this.state.readMarkerEventId,
|
||||
0, 1/3);
|
||||
return;
|
||||
}
|
||||
|
||||
// Looks like we haven't loaded the event corresponding to the read-marker.
|
||||
|
|
Loading…
Reference in New Issue