mirror of
https://github.com/MathMan05/Fermi.git
synced 2026-09-16 23:24:46 +00:00
fix(client): ensure typebox is blurred on mobile when switching channels
This commit is contained in:
@@ -2719,6 +2719,8 @@ class Channel extends SnowFlake {
|
||||
(document.getElementById("typediv") as HTMLElement).style.visibility = "visible";
|
||||
if (!mobile) {
|
||||
(document.getElementById("typebox") as HTMLDivElement).focus();
|
||||
} else {
|
||||
(document.getElementById("typebox") as HTMLDivElement).blur();
|
||||
}
|
||||
if (getMessages) await this.putmessages();
|
||||
await prom;
|
||||
|
||||
Reference in New Issue
Block a user