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) => {
if (e.key === 'Enter') {
e.preventDefault();
setTimeout(() => {
const input = document.getElementById(`chat-title-input-${id}`);
if (input) input.blur();
}, 0);
setTimeout(() => {
const input = document.getElementById(`chat-title-input-${id}`);
if (input) input.blur();
}, 0);
} else if (e.key === 'Escape') {
e.preventDefault();
confirmEdit = false;