Skip to content

Commit b8e8e60

Browse files
author
Jon Deibel
committed
Fixed error
1 parent 3f1598a commit b8e8e60

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/InfiniteScroll.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ export default class InfiniteScroll extends Component {
9696
}
9797

9898
// Here we make sure the element is visible as well as checking the offset
99-
if(offset < Number(this.props.threshold) && el.offsetParent !== null``) {
99+
if(offset < Number(this.props.threshold) && el.offsetParent !== null) {
100100
this.detachScrollListener();
101101
// Call loadMore after detachScrollListener to allow for non-async loadMore functions
102102
if(typeof this.props.loadMore == 'function') {

0 commit comments

Comments
 (0)