Skip to content

Commit 4d1156f

Browse files
authored
Merge pull request #353 from shaneosullivan/FixMisspelling
Fix misspelling elemScrolPosition
2 parents 6f0a00e + 8a48222 commit 4d1156f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/controllers/Lane.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,9 +24,9 @@ class Lane extends Component {
2424

2525
handleScroll = evt => {
2626
const node = evt.target
27-
const elemScrolPosition = node.scrollHeight - node.scrollTop - node.clientHeight
27+
const elemScrollPosition = node.scrollHeight - node.scrollTop - node.clientHeight
2828
const {onLaneScroll} = this.props
29-
if (elemScrolPosition <= 0 && onLaneScroll && !this.state.loading) {
29+
if (elemScrollPosition <= 0 && onLaneScroll && !this.state.loading) {
3030
const {currentPage} = this.state
3131
this.setState({loading: true})
3232
const nextPage = currentPage + 1

0 commit comments

Comments
 (0)