Correct comment

pull/21833/head
David Baker 2017-09-07 17:16:32 +01:00
parent 7f44ac7403
commit 82d1afcc47
1 changed files with 1 additions and 1 deletions

View File

@ -201,7 +201,7 @@ module.exports = React.createClass({
// ...and get the scroll state for the new room // ...and get the scroll state for the new room
// If an event ID wasn't specified, default to the one saved for this room // If an event ID wasn't specified, default to the one saved for this room
// via update_scroll_state. Assume initialEventPixelOffset should be set. // in the scroll state store. Assume initialEventPixelOffset should be set.
if (!newState.initialEventId) { if (!newState.initialEventId) {
const roomScrollState = RoomScrollStateStore.getScrollState(newState.roomId); const roomScrollState = RoomScrollStateStore.getScrollState(newState.roomId);
if (roomScrollState) { if (roomScrollState) {