fix(media): click event prevent default
This commit is contained in:
parent
2cfb82bd0e
commit
4d34c0e0ca
@ -42,6 +42,8 @@ const hide = ref(true);
|
||||
|
||||
function showHiddenContent(ev: MouseEvent) {
|
||||
if (defaultStore.state.sensitiveDoubleClickRequired) {
|
||||
ev.preventDefault();
|
||||
ev.stopPropagation();
|
||||
return;
|
||||
}
|
||||
|
||||
|
@ -136,6 +136,8 @@ function showHiddenContent(ev: MouseEvent) {
|
||||
}
|
||||
|
||||
if (defaultStore.state.sensitiveDoubleClickRequired) {
|
||||
ev.preventDefault();
|
||||
ev.stopPropagation();
|
||||
return;
|
||||
}
|
||||
|
||||
|
@ -256,6 +256,8 @@ function showMenu(ev: MouseEvent) {
|
||||
|
||||
function showHiddenContent(ev: MouseEvent) {
|
||||
if (defaultStore.state.sensitiveDoubleClickRequired) {
|
||||
ev.preventDefault();
|
||||
ev.stopPropagation();
|
||||
return;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user