remove logging
This commit is contained in:
@@ -97,10 +97,8 @@ class InfiniteScroller {
|
||||
}
|
||||
snapBottom() {
|
||||
const scrollBottom = this.scrollBottom;
|
||||
console.log(scrollBottom);
|
||||
return () => {
|
||||
if (this.div && scrollBottom < 4) {
|
||||
console.log("snap");
|
||||
this.div.scrollTop = this.div.scrollHeight;
|
||||
}
|
||||
};
|
||||
|
@@ -98,10 +98,8 @@ class InfiniteScroller{
|
||||
}
|
||||
snapBottom(){
|
||||
const scrollBottom=this.scrollBottom;
|
||||
console.log(scrollBottom);
|
||||
return()=>{
|
||||
if(this.div&&scrollBottom<4){
|
||||
console.log("snap");
|
||||
this.div.scrollTop=this.div.scrollHeight;
|
||||
}
|
||||
};
|
||||
|
Reference in New Issue
Block a user