mirror of
https://github.com/vector-im/element-web.git
synced 2024-11-16 05:04:57 +08:00
typo
This commit is contained in:
parent
e18e965eb8
commit
0e5006b041
@ -483,7 +483,7 @@ module.exports = React.createClass({
|
||||
// Use the offset of the top of the scroll area from the window
|
||||
// as this is used to calculate the CSS fixed top position for the stickies
|
||||
var scrollAreaOffset = scrollArea.getBoundingClientRect().top + window.pageYOffset;
|
||||
// Use the offset of the top of the componet from the window
|
||||
// Use the offset of the top of the component from the window
|
||||
// as this is used to calculate the CSS fixed top position for the stickies
|
||||
var scrollAreaHeight = ReactDOM.findDOMNode(this).getBoundingClientRect().height;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user