From 9da13fe430eff77ac765c00f091215659c047efd Mon Sep 17 00:00:00 2001 From: Bruno Windels Date: Wed, 20 Mar 2019 17:13:09 +0100 Subject: [PATCH] small cleanup --- src/components/structures/ScrollPanel.js | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/components/structures/ScrollPanel.js b/src/components/structures/ScrollPanel.js index 7d9ac0fb6a..b6dd17e8b6 100644 --- a/src/components/structures/ScrollPanel.js +++ b/src/components/structures/ScrollPanel.js @@ -569,7 +569,6 @@ module.exports = React.createClass({ debuglog("unable to save scroll state: found no children in the viewport"); return; } - debuglog("saving anchored scroll state to message", node && node.innerText); this.scrollState = { stuckAtBottom: false, @@ -597,7 +596,6 @@ module.exports = React.createClass({ debuglog("balancing height because messages below viewport grew by "+bottomDiff+"px"); } } - // TODO: also call _updateHeight if not already in progress if (!this._heightUpdateInProgress) { this._heightUpdateInProgress = true; try {