Skip to content
Snippets Groups Projects
Commit cc9149f6 authored by tamaina's avatar tamaina
Browse files
parent c9e8399e
No related branches found
No related tags found
No related merge requests found
......@@ -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) => {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment