fix pasting unwanted text

This commit is contained in:
Jan Prochazka
2020-06-11 15:43:39 +02:00
parent dda614165f
commit bab14883a2

View File

@@ -160,6 +160,7 @@ export default function TabsPanel() {
const closeOthers = closeTabFunc((x, active) => x.tabid != active.tabid);
const handleMouseUp = (e, tabid) => {
if (e.button == 1) {
e.preventDefault();
closeTab(tabid);
}
};