Correct comment
This commit is contained in:
parent
7f44ac7403
commit
82d1afcc47
1 changed files with 1 additions and 1 deletions
|
@ -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) {
|
||||||
|
|
Loading…
Reference in a new issue