mirror of
https://github.com/pelican-dev/panel.git
synced 2025-05-29 16:44:44 +02:00
Update DropdownMenu.tsx
This commit is contained in:
parent
117c1b1778
commit
c63382532e
@ -64,9 +64,7 @@ class DropdownMenu extends React.PureComponent<Props, State> {
|
||||
|
||||
windowListener = (e: MouseEvent) => {
|
||||
const menu = this.menu.current;
|
||||
|
||||
console.log('windowListener:', e.button);
|
||||
|
||||
|
||||
if (e.button === 2 || !this.state.visible || !menu) {
|
||||
return;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user