diff options
| author | stonedDiscord <Tukz@gmx.de> | 2022-09-04 22:30:31 +0200 |
|---|---|---|
| committer | stonedDiscord <Tukz@gmx.de> | 2022-09-04 22:30:31 +0200 |
| commit | 1e3fde25b9f6d8adbdf087a51a34dc35cc1907d8 (patch) | |
| tree | 6b0c33270bc7ec96ab7dbe3381870babeb60a179 /webAO/dom/onOOCEnter.ts | |
| parent | 975fb353dd7f5bec7bcb836f4ceb86fae9b70340 (diff) | |
undo dom stuff
Diffstat (limited to 'webAO/dom/onOOCEnter.ts')
| -rw-r--r-- | webAO/dom/onOOCEnter.ts | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/webAO/dom/onOOCEnter.ts b/webAO/dom/onOOCEnter.ts deleted file mode 100644 index a24928b..0000000 --- a/webAO/dom/onOOCEnter.ts +++ /dev/null @@ -1,16 +0,0 @@ -import {client} from '../client' -/** - * Triggered when the Return key is pressed on the out-of-character chat input box. - * @param {KeyboardEvent} event - */ - export function onOOCEnter(event: KeyboardEvent) { - if (event.keyCode === 13) { - client.sendOOC( - (<HTMLInputElement>document.getElementById("client_oocinputbox")).value - ); - (<HTMLInputElement>document.getElementById("client_oocinputbox")).value = - ""; - } - } - window.onOOCEnter = onOOCEnter; -
\ No newline at end of file |
