aboutsummaryrefslogtreecommitdiff
path: root/webAO/dom/onOOCEnter.ts
diff options
context:
space:
mode:
Diffstat (limited to 'webAO/dom/onOOCEnter.ts')
-rw-r--r--webAO/dom/onOOCEnter.ts3
1 files changed, 1 insertions, 2 deletions
diff --git a/webAO/dom/onOOCEnter.ts b/webAO/dom/onOOCEnter.ts
index a6bde4c..d7ec21b 100644
--- a/webAO/dom/onOOCEnter.ts
+++ b/webAO/dom/onOOCEnter.ts
@@ -4,9 +4,8 @@ import { client } from "../client";
* @param {KeyboardEvent} event
*/
export function onOOCEnter(event: KeyboardEvent) {
- console.log('FUCK')
if (event.keyCode === 13) {
- client.sendOOC(
+ client.sender.sendOOC(
(<HTMLInputElement>document.getElementById("client_oocinputbox")).value
);
(<HTMLInputElement>document.getElementById("client_oocinputbox")).value =