// when holding shift, or spamming a repeating key, we still want enter to
// send the chat message
if (e.keyCode === 13) {
inputForm.submit();
e.preventDefault()
}
Problem is after submitting the form I'd get this:
[HTML] asset://html/?:1: Uncaught ReferenceError: speakJS is not defined
I tried a solution like this:
Problem is after submitting the form I'd get this: