From 360806a8f1958f52eb92dfdf96829e34d5212a05 Mon Sep 17 00:00:00 2001 From: Richard van der Hoff Date: Tue, 22 Dec 2015 11:04:39 +0000 Subject: [PATCH] RoomView: add whitespace for disambiguation --- src/components/structures/RoomView.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/structures/RoomView.js b/src/components/structures/RoomView.js index aafc9b8906..0f02085638 100644 --- a/src/components/structures/RoomView.js +++ b/src/components/structures/RoomView.js @@ -689,7 +689,7 @@ module.exports = React.createClass({ var prevEvent = null; // the last event we showed - var startIdx = Math.max(0, this.state.room.timeline.length-this.state.messageCap); + var startIdx = Math.max(0, this.state.room.timeline.length - this.state.messageCap); for (var i = startIdx; i < this.state.room.timeline.length; i++) { var mxEv = this.state.room.timeline[i];