mirror of
https://github.com/open-webui/open-webui.git
synced 2025-12-14 05:15:18 +00:00
Use consistent function names.
This commit is contained in:
parent
3b624f35ac
commit
2b687e2c06
1 changed files with 2 additions and 2 deletions
|
|
@ -199,7 +199,7 @@
|
||||||
|
|
||||||
let showDeleteConfirm = false;
|
let showDeleteConfirm = false;
|
||||||
|
|
||||||
const keyDownEvent = (e) => {
|
const chatTitleInputKeydownHandler = (e) => {
|
||||||
if (e.key === 'Enter') {
|
if (e.key === 'Enter') {
|
||||||
e.preventDefault();
|
e.preventDefault();
|
||||||
editChatTitle(id, chatTitle);
|
editChatTitle(id, chatTitle);
|
||||||
|
|
@ -259,7 +259,7 @@
|
||||||
bind:value={chatTitle}
|
bind:value={chatTitle}
|
||||||
id="chat-title-input-{id}"
|
id="chat-title-input-{id}"
|
||||||
class=" bg-transparent w-full outline-hidden mr-10"
|
class=" bg-transparent w-full outline-hidden mr-10"
|
||||||
on:keydown={keyDownEvent}
|
on:keydown={chatTitleInputKeydownHandler}
|
||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
{:else}
|
{:else}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue