From bf54fb70afbc5e5143586ef2670da0f27d539224 Mon Sep 17 00:00:00 2001 From: mappi Date: Fri, 2 Jun 2023 16:31:25 +0900 Subject: [PATCH] fix: vue-plyr audio tag Co-authored-by: mappi --- packages/client/src/components/MkNote.vue | 2 ++ 1 file changed, 2 insertions(+) diff --git a/packages/client/src/components/MkNote.vue b/packages/client/src/components/MkNote.vue index 7eca22a734..1325809f3f 100644 --- a/packages/client/src/components/MkNote.vue +++ b/packages/client/src/components/MkNote.vue @@ -381,6 +381,8 @@ const currentClipPage = inject | null>( function onContextmenu(ev: MouseEvent): void { const isLink = (el: HTMLElement) => { if (el.tagName === "A") return true; + // The Audio element's context menu is the browser default, such as for selecting playback speed. + if (el.tagName === 'AUDIO') return true; if (el.parentElement) { return isLink(el.parentElement); }