fix comment typo

This commit is contained in:
Bruno Windels 2019-03-21 15:37:35 +01:00
parent 680afc5ce0
commit ab49bc4fcf

View file

@ -638,7 +638,7 @@ module.exports = React.createClass({
const trackedNode = this._getTrackedNode(); const trackedNode = this._getTrackedNode();
// if the timeline has been reloaded // if the timeline has been reloaded
// this can be called before scrollToBottom or whatever has been called // this can be called before scrollToBottom or whatever has been called
// so don't do anything of the node has disappeared from // so don't do anything if the node has disappeared from
// the currently filled piece of the timeline // the currently filled piece of the timeline
if (trackedNode) { if (trackedNode) {
const oldTop = trackedNode.offsetTop; const oldTop = trackedNode.offsetTop;