fix bottom bug inverse condition
This commit is contained in:
@@ -40,7 +40,7 @@ class InfiniteScroller {
|
||||
updatestuff() {
|
||||
this.scrollBottom = this.scroll.scrollHeight - this.scroll.scrollTop - this.scroll.clientHeight;
|
||||
this.scrollTop = this.scroll.scrollTop;
|
||||
if (this.scrollBottom) {
|
||||
if (!this.scrollBottom) {
|
||||
this.reachesBottom();
|
||||
}
|
||||
//this.watchForChange();
|
||||
|
Reference in New Issue
Block a user