mirror of
https://github.com/open-webui/open-webui.git
synced 2026-10-07 02:58:21 +00:00
refac
This commit is contained in:
parent
72db81fafd
commit
d3913657df
1 changed files with 1 additions and 1 deletions
|
|
@ -424,7 +424,7 @@
|
|||
$: maxVisibleItems = Math.floor(containerWidth / 5); // 2px width + 0.5px gap
|
||||
|
||||
const handleKeyDown = (e) => {
|
||||
if (e.key === 'Escape') {
|
||||
if (recording && e.key === 'Escape') {
|
||||
e.preventDefault();
|
||||
cancelRecording();
|
||||
onCancel();
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue