mirror of
https://github.com/vector-im/element-web.git
synced 2025-10-02 11:01:23 +02:00
more logging cleanup
This commit is contained in:
parent
9da13fe430
commit
02a5aa3b1f
@ -569,11 +569,12 @@ 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);
|
||||
const scrollToken = node.dataset.scrollTokens.split(',')[0];
|
||||
debuglog("saving anchored scroll state to message", node && node.innerText, scrollToken);
|
||||
this.scrollState = {
|
||||
stuckAtBottom: false,
|
||||
trackedNode: node,
|
||||
trackedScrollToken: node.dataset.scrollTokens.split(',')[0],
|
||||
trackedScrollToken: scrollToken,
|
||||
bottomOffset: this._topFromBottom(node),
|
||||
};
|
||||
},
|
||||
|
Loading…
x
Reference in New Issue
Block a user