webui: fix keyboard shortcuts for new chat & edit chat title (#17007)
This commit is contained in:
parent
53d7d21e61
commit
333f2595a3
Binary file not shown.
|
|
@ -44,12 +44,12 @@
|
|||
}
|
||||
}
|
||||
|
||||
if (isCtrlOrCmd && event.shiftKey && event.key === 'o') {
|
||||
if (isCtrlOrCmd && event.shiftKey && event.key === 'O') {
|
||||
event.preventDefault();
|
||||
goto('?new_chat=true#/');
|
||||
}
|
||||
|
||||
if (event.shiftKey && isCtrlOrCmd && event.key === 'e') {
|
||||
if (event.shiftKey && isCtrlOrCmd && event.key === 'E') {
|
||||
event.preventDefault();
|
||||
|
||||
if (chatSidebar?.editActiveConversation) {
|
||||
|
|
|
|||
Loading…
Reference in New Issue