aboutsummaryrefslogtreecommitdiff
path: root/webAO/dom/onOOCEnter.ts
diff options
context:
space:
mode:
authorstonedDiscord <stonedDiscord@users.noreply.github.com>2024-11-20 13:31:50 +0000
committerGitHub Action <actions@github.com>2024-11-20 13:31:50 +0000
commit6684f3fce6e90fd0574d7bab63b629554ab03ef6 (patch)
treeb2a62247d17e23a77af57aea355ba621666817c2 /webAO/dom/onOOCEnter.ts
parent95a2d1361d84c61b454ebe506e6963b93f6d8dee (diff)
Prettified Code!
Diffstat (limited to 'webAO/dom/onOOCEnter.ts')
-rw-r--r--webAO/dom/onOOCEnter.ts14
1 files changed, 7 insertions, 7 deletions
diff --git a/webAO/dom/onOOCEnter.ts b/webAO/dom/onOOCEnter.ts
index d7ec21b..e4e0971 100644
--- a/webAO/dom/onOOCEnter.ts
+++ b/webAO/dom/onOOCEnter.ts
@@ -4,12 +4,12 @@ import { client } from "../client";
* @param {KeyboardEvent} event
*/
export function onOOCEnter(event: KeyboardEvent) {
- if (event.keyCode === 13) {
- client.sender.sendOOC(
- (<HTMLInputElement>document.getElementById("client_oocinputbox")).value
- );
- (<HTMLInputElement>document.getElementById("client_oocinputbox")).value =
- "";
- }
+ if (event.keyCode === 13) {
+ client.sender.sendOOC(
+ (<HTMLInputElement>document.getElementById("client_oocinputbox")).value,
+ );
+ (<HTMLInputElement>document.getElementById("client_oocinputbox")).value =
+ "";
+ }
}
window.onOOCEnter = onOOCEnter;