diff --git a/frontend/src/lib/components/TranscriptionReadView.svelte b/frontend/src/lib/components/TranscriptionReadView.svelte index ca0b59df..e713ee8a 100644 --- a/frontend/src/lib/components/TranscriptionReadView.svelte +++ b/frontend/src/lib/components/TranscriptionReadView.svelte @@ -155,11 +155,7 @@ async function handleMentionEnter(event: Event) { function handleMentionLeave(event: Event) { const link = event.target as HTMLAnchorElement; link.removeAttribute('aria-describedby'); - if (event.type === 'mouseleave') { - scheduleCardClose(); - } else { - activeCard = null; - } + scheduleCardClose(); } /**