1
0
mirror of https://github.com/matrix-org/matrix-react-sdk.git synced 2025-06-27 15:01:53 +03:00

RoomView: add whitespace for disambiguation

This commit is contained in:
Richard van der Hoff
2015-12-22 11:04:39 +00:00
parent afadb23f89
commit 360806a8f1

View File

@ -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];