more file upload options

This commit is contained in:
MathMan05 2024-11-25 20:32:00 -06:00
parent fb26f77366
commit d739dc0a3b
7 changed files with 142 additions and 45 deletions

View file

@ -852,6 +852,7 @@ class Channel extends SnowFlake{
await this.buildmessages();
//loading.classList.remove("loading");
(document.getElementById("typebox") as HTMLDivElement).contentEditable =""+this.canMessage;
(document.getElementById("upload") as HTMLElement).style.visibility=this.canMessage?"visible":"hidden";
(document.getElementById("typebox") as HTMLDivElement).focus();
}
typingmap: Map<Member, number> = new Map();