From 57f2f36d4e803b33482b8228d2ad0ff3aadc54fe Mon Sep 17 00:00:00 2001 From: David Skoland Date: Tue, 17 Oct 2023 21:12:41 +0200 Subject: Focus input box when emotion is picked --- webAO/dom/pickEmotion.ts | 2 ++ 1 file changed, 2 insertions(+) (limited to 'webAO') 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) { (document.getElementById("sendpreanim")).checked = client.emote.zoom == 1; + + (document.getElementById("client_inputbox")).focus(); } window.pickEmotion = pickEmotion; \ No newline at end of file -- cgit