update spacing
This commit is contained in:
1 parent
dc05ccb73f
commit
fd53c737f6
1 file changed
+4
-4
@@ -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;
|
||||||
|
|||||||
Reference in new issue
Block a user