Skip to content

Commit

Permalink
Merge pull request #192 from OmniTroid/pickemotion-focus
Browse files Browse the repository at this point in the history
Focus input box when emotion is picked
  • Loading branch information
stonedDiscord authored Oct 17, 2023
2 parents 755fb72 + 57f2f36 commit 0036483
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions webAO/dom/pickEmotion.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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;

0 comments on commit 0036483

Please sign in to comment.