get rid of eccesive loggin

This commit is contained in:
MathMan05
2024-09-03 11:06:30 -05:00
parent e3086efb82
commit 66a13c3407
10 changed files with 0 additions and 34 deletions

View File

@@ -49,12 +49,10 @@ class Channel extends SnowFlake{
messages:Map<string,Message>=new Map();
static setupcontextmenu(){
this.contextmenu.addbutton("Copy channel id",function(this:Channel){
console.log(this);
navigator.clipboard.writeText(this.id);
});
this.contextmenu.addbutton("Mark as read",function(this:Channel){
console.log(this);
this.readbottom();
});
@@ -63,7 +61,6 @@ class Channel extends SnowFlake{
});
this.contextmenu.addbutton("Delete channel",function(this:Channel){
console.log(this);
this.deleteChannel();
},null,function(){
return this.isAdmin();
@@ -181,7 +178,6 @@ class Channel extends SnowFlake{
await this.grabAfter(id);
return this.idToNext.get(id);
}else{
console.log("at bottom");
}
}
}),
@@ -708,7 +704,6 @@ class Channel extends SnowFlake{
await this.buildmessages();
//loading.classList.remove("loading");
console.log(this);
(document.getElementById("typebox") as HTMLDivElement).contentEditable=""+this.canMessage;
}
static regenLoadingMessages(){