From f42ae1662b42ef23bea1466de344bb1a56559d20 Mon Sep 17 00:00:00 2001 From: Michael Telatynski <7t3chguy@gmail.com> Date: Wed, 26 Jul 2017 11:46:59 +0100 Subject: [PATCH] change wording of comment as per Luke's review --- src/components/structures/TimelinePanel.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/structures/TimelinePanel.js b/src/components/structures/TimelinePanel.js index a860ec123f..991af88424 100644 --- a/src/components/structures/TimelinePanel.js +++ b/src/components/structures/TimelinePanel.js @@ -1021,7 +1021,7 @@ var TimelinePanel = React.createClass({ if ((allowPartial && boundingRect.top < wrapperRect.bottom) || (!allowPartial && boundingRect.bottom < wrapperRect.bottom)) { let latestReadEventIndex = i; - // Place the RM at a hidden event below the latest seen event (if exists) + // Place the RM at a hidden event below the latest visible event. // to prevent RM going up the timeline between clients which do not hide the same events. for (let j = i + 1; j < this.state.events.length; j++) { if (messagePanel._shouldShowEvent(this.state.events[j])) break;