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) { console.log('FUCK') if (event.keyCode === 13) { client.sendOOC( (document.getElementById("client_oocinputbox")).value ); (document.getElementById("client_oocinputbox")).value = ""; } } window.onOOCEnter = onOOCEnter;