guild settings

This commit is contained in:
MathMan05 2024-09-10 14:52:30 -05:00
parent 72ac3a14ed
commit 68ab121d63
7 changed files with 45 additions and 62 deletions

View file

@ -299,8 +299,8 @@ class Message extends SnowFlake {
next.generateMessage();
next = this.channel.messages.get(this.channel.idToNext.get(next.id));
}
if (this.channel.infinite.div && scroll) {
this.channel.infinite.div.scrollTop = scroll;
if (this.channel.infinite.scollDiv && scroll) {
this.channel.infinite.scollDiv.scrollTop = scroll;
}
};
}
@ -333,9 +333,9 @@ class Message extends SnowFlake {
next = this.channel.messages.get(this.channel.idToNext.get(next.id));
console.log("loopy");
}
if (this.channel.infinite.div && scroll) {
if (this.channel.infinite.scollDiv && scroll) {
func();
this.channel.infinite.div.scrollTop = scroll;
this.channel.infinite.scollDiv.scrollTop = scroll;
}
};
div.appendChild(build);