From 6ec2712eec3e6029a01ebf63790d394b46a2c3da Mon Sep 17 00:00:00 2001 From: Bruno Windels Date: Thu, 16 Sep 2021 16:33:09 +0200 Subject: [PATCH] remove debug logging --- src/domain/session/room/timeline/TimelineViewModel.js | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/domain/session/room/timeline/TimelineViewModel.js b/src/domain/session/room/timeline/TimelineViewModel.js index 5938ada5..9c936218 100644 --- a/src/domain/session/room/timeline/TimelineViewModel.js +++ b/src/domain/session/room/timeline/TimelineViewModel.js @@ -77,12 +77,10 @@ export class TimelineViewModel extends ViewModel { } loadTop = startIndex < 10; this._setShowJumpDown(endIndex < (this._tiles.length - 1)); - // console.log("got tiles", startIndex, endIndex, loadTop); } else { // tiles collection is empty, load more at top loadTop = true; this._setShowJumpDown(false); - // console.log("no tiles, load more at top"); } if (loadTop && !this._topLoadingPromise) { @@ -95,8 +93,6 @@ export class TimelineViewModel extends ViewModel { this.setVisibleTileRange(this._requestedStartTile, this._requestedEndTile); } }); - } else if (loadTop) { - // console.log("loadTop is true but already loading"); } }