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