Length of the returned array, not the index of the timeline event.
This commit is contained in:
parent
d63f83187f
commit
7913b0b465
1 changed files with 1 additions and 1 deletions
|
@ -741,7 +741,7 @@ module.exports = React.createClass({
|
|||
// A read up to marker has died and returned as a ghost!
|
||||
// Lives in the dom as the ghost of the previous one while it fades away
|
||||
if (eventId == this.state.readMarkerGhostEventId) {
|
||||
ghostIndex = i + 1;
|
||||
ghostIndex = ret.length;
|
||||
}
|
||||
|
||||
prevEvent = mxEv;
|
||||
|
|
Loading…
Reference in a new issue