mirror of
https://github.com/open-webui/open-webui.git
synced 2025-12-17 14:55:23 +00:00
update spacing
This commit is contained in:
parent
dc05ccb73f
commit
fd53c737f6
1 changed files with 4 additions and 4 deletions
|
|
@ -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;
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue