mirror of
https://github.com/open-webui/open-webui.git
synced 2026-10-18 04:43:55 +00:00
refac
This commit is contained in:
parent
9d0aa791ad
commit
8132145936
1 changed files with 2 additions and 1 deletions
|
|
@ -1078,7 +1078,8 @@
|
|||
on:keydown={async (e) => {
|
||||
e = e.detail.event;
|
||||
// IME confirmation must finish before a shortcut can send and clear the editor.
|
||||
if (e.isComposing || e.keyCode === 229 || inputEditor?.view.composing) return;
|
||||
if (e.isComposing || e.keyCode === 229 || inputEditor?.view.composing)
|
||||
return;
|
||||
|
||||
const isCtrlPressed = e.ctrlKey || e.metaKey; // metaKey is for Cmd key on Mac
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue