remove logging

This commit is contained in:
MathMan05 2024-09-09 11:24:39 -05:00
parent 7cf4e40a5f
commit 4154a917e1
2 changed files with 0 additions and 4 deletions

View file

@ -97,10 +97,8 @@ class InfiniteScroller {
} }
snapBottom() { snapBottom() {
const scrollBottom = this.scrollBottom; const scrollBottom = this.scrollBottom;
console.log(scrollBottom);
return () => { return () => {
if (this.div && scrollBottom < 4) { if (this.div && scrollBottom < 4) {
console.log("snap");
this.div.scrollTop = this.div.scrollHeight; this.div.scrollTop = this.div.scrollHeight;
} }
}; };

View file

@ -98,10 +98,8 @@ class InfiniteScroller{
} }
snapBottom(){ snapBottom(){
const scrollBottom=this.scrollBottom; const scrollBottom=this.scrollBottom;
console.log(scrollBottom);
return()=>{ return()=>{
if(this.div&&scrollBottom<4){ if(this.div&&scrollBottom<4){
console.log("snap");
this.div.scrollTop=this.div.scrollHeight; this.div.scrollTop=this.div.scrollHeight;
} }
}; };