mirror of
https://github.com/DeNNiiInc/dbgate.git
synced 2026-04-22 19:16:01 +00:00
fix pasting unwanted text
This commit is contained in:
@@ -160,6 +160,7 @@ export default function TabsPanel() {
|
|||||||
const closeOthers = closeTabFunc((x, active) => x.tabid != active.tabid);
|
const closeOthers = closeTabFunc((x, active) => x.tabid != active.tabid);
|
||||||
const handleMouseUp = (e, tabid) => {
|
const handleMouseUp = (e, tabid) => {
|
||||||
if (e.button == 1) {
|
if (e.button == 1) {
|
||||||
|
e.preventDefault();
|
||||||
closeTab(tabid);
|
closeTab(tabid);
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user