1
0
mirror of https://github.com/matrix-org/matrix-react-sdk.git synced 2025-07-21 07:42:09 +03:00

only log when node was found

This commit is contained in:
Bruno Windels
2019-03-20 11:10:04 +01:00
parent c306181fcd
commit 1e372aad47

View File

@ -665,7 +665,9 @@ module.exports = React.createClass({
break;
}
}
debuglog("had to find tracked node again for " + scrollState.trackedScrollToken);
if (node) {
debuglog("had to find tracked node again for " + scrollState.trackedScrollToken);
}
scrollState.trackedNode = node;
}