update spacing

This commit is contained in:
Ayana H 2025-06-03 19:49:52 -07:00 committed by GitHub
parent dc05ccb73f
commit fd53c737f6
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -204,10 +204,10 @@
const chatTitleInputKeydownHandler = (e) => { const chatTitleInputKeydownHandler = (e) => {
if (e.key === 'Enter') { if (e.key === 'Enter') {
e.preventDefault(); e.preventDefault();
setTimeout(() => { setTimeout(() => {
const input = document.getElementById(`chat-title-input-${id}`); const input = document.getElementById(`chat-title-input-${id}`);
if (input) input.blur(); if (input) input.blur();
}, 0); }, 0);
} else if (e.key === 'Escape') { } else if (e.key === 'Escape') {
e.preventDefault(); e.preventDefault();
confirmEdit = false; confirmEdit = false;