various fixes

This commit is contained in:
MathMan05 2024-09-10 13:50:53 -05:00
parent baa224ab91
commit 72ac3a14ed
8 changed files with 50 additions and 3 deletions

View file

@ -930,6 +930,10 @@ class Channel extends SnowFlake {
if (this.localuser.channelfocus !== this) {
return;
}
for (const elm of messages.getElementsByClassName("scroller")) {
elm.remove();
console.warn("rouge element detected and removed");
}
messages.append(await this.infinite.getDiv(id));
this.infinite.updatestuff();
this.infinite.watchForChange().then(async (_) => {