From cc9149f6b2172349a0c2f251d675663ef715a751 Mon Sep 17 00:00:00 2001 From: tamaina Date: Sun, 25 Dec 2022 07:12:44 +0000 Subject: [PATCH] fix https://github.com/misskey-dev/misskey/pull/9400#discussion_r1056909900 --- packages/client/src/components/global/MkPageHeader.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/client/src/components/global/MkPageHeader.vue b/packages/client/src/components/global/MkPageHeader.vue index ba61a494e4..a228dfe883 100644 --- a/packages/client/src/components/global/MkPageHeader.vue +++ b/packages/client/src/components/global/MkPageHeader.vue @@ -101,7 +101,7 @@ const showTabsPopup = (ev: MouseEvent) => { onTabClick(tab, ev); }, })); - popupMenu(menu, ev.currentTarget! as HTMLElement); + popupMenu(menu, (ev.currentTarget ?? ev.target) as HTMLElement); }; const preventDrag = (ev: TouchEvent) => {