0
0
tamaina 2022-12-25 07:12:44 +00:00
parent c9e8399e0e
commit cc9149f6b2

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