tamaina 2022-12-25 07:12:44 +00:00
parent c9e8399e0e
commit cc9149f6b2
1 changed files with 1 additions and 1 deletions

View File

@ -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) => {