diff --git a/frontend/ftchat/chat.js b/frontend/ftchat/chat.js index 80ed626..8f529ea 100644 --- a/frontend/ftchat/chat.js +++ b/frontend/ftchat/chat.js @@ -481,13 +481,7 @@ // Periodically update slot info setInterval(updateSlotInfo, 30000); - // Keyboard shortcut: Escape to blur input - documenchatInput.addEventListener('keydown', function(e) { - if (e.key === 'Enter' && !e.shiftKey) { - e.preventDefault(); - sendMessage(); - } - }); + chatInput.addEventListener('keydown', function(e) { if (e.key === 'Escape' && document.activeElement === chatInput) { chatInput.blur();