Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
tamaina committed Dec 25, 2022
1 parent c9e8399 commit cc9149f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/client/src/components/global/MkPageHeader.vue
Original file line number Diff line number Diff line change
Expand Up @@ -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) => {
Expand Down

0 comments on commit cc9149f

Please sign in to comment.