mirror of
https://github.com/open-webui/open-webui.git
synced 2026-11-17 15:53:59 -06:00
refac
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user