From 0f735c08ed1e13c4102e4197afdc12f77fcd204f Mon Sep 17 00:00:00 2001 From: rainbow napkin Date: Fri, 16 Oct 2026 03:23:05 -0400 Subject: [PATCH] added comment we shoulda had b4 --- www/js/channel/chat.js | 1 + 1 file changed, 1 insertion(+) diff --git a/www/js/channel/chat.js b/www/js/channel/chat.js index 88b271b..c05ec8c 100644 --- a/www/js/channel/chat.js +++ b/www/js/channel/chat.js @@ -258,6 +258,7 @@ class chatBox{ * @param {Event} event - Event passed down from Event Handler */ send(event){ + //If we don't have an event, or if we do it isn't a keeb event, or if it is we hit enter if((!event || !event.key || event.key == "Enter") && this.chatPrompt.value){ //Transmit the chat this.transmit(this.chatPrompt.value);