mirror of
https://github.com/n8n-io/n8n.git
synced 2024-11-15 00:54:06 -08:00
4 lines
108 B
TypeScript
4 lines
108 B
TypeScript
export function isMiddleMouseButton(event: MouseEvent) {
|
|
return event.which === 2 || event.button === 1;
|
|
}
|