diff options
| author | stonedDiscord <Tukz@gmx.de> | 2023-10-17 22:38:36 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-10-17 22:38:36 +0200 |
| commit | 0036483242cd997761e7b05b80c706c33b880773 (patch) | |
| tree | 64f432cd283c4f0e1bc2ea3fe16cdbab020018f3 | |
| parent | 755fb723b1e7882c37d66ec027eacb6bea5c63e6 (diff) | |
| parent | 57f2f36d4e803b33482b8228d2ad0ff3aadc54fe (diff) | |
Merge pull request #192 from OmniTroid/pickemotion-focus
Focus input box when emotion is picked
| -rw-r--r-- | webAO/dom/pickEmotion.ts | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/webAO/dom/pickEmotion.ts b/webAO/dom/pickEmotion.ts index b72583f..619d0ab 100644 --- a/webAO/dom/pickEmotion.ts +++ b/webAO/dom/pickEmotion.ts @@ -20,5 +20,7 @@ export function pickEmotion(emo: number) { (<HTMLInputElement>document.getElementById("sendpreanim")).checked = client.emote.zoom == 1; + + (<HTMLInputElement>document.getElementById("client_inputbox")).focus(); } window.pickEmotion = pickEmotion;
\ No newline at end of file |
