mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-05-05 13:07:44 +03:00
Stop propogation
This commit is contained in:
parent
f7622cd278
commit
eca3e27b30
@ -33,6 +33,7 @@ export default function useContextMenu(
|
||||
};
|
||||
} else {
|
||||
const context = (e: MouseEvent) => {
|
||||
e.stopPropagation();
|
||||
e.preventDefault();
|
||||
callback();
|
||||
};
|
||||
|
||||
Loading…
Reference in New Issue
Block a user