[No Jira Issue] modify the onClickBack function
1. PlayerPanel.jsx - commented out: ev.preventDefault - uncommented: ev.stopPropagation
This commit is contained in:
@@ -837,7 +837,7 @@ const PlayerPanel = ({
|
||||
) {
|
||||
setSideContentsVisible(false);
|
||||
ev?.stopPropagation();
|
||||
if (ev && typeof ev.preventDefault === "function") ev.preventDefault();
|
||||
// ev?.preventDefault();
|
||||
return;
|
||||
}
|
||||
|
||||
@@ -861,16 +861,16 @@ const PlayerPanel = ({
|
||||
})
|
||||
);
|
||||
}
|
||||
// ev?.stopPropagation();
|
||||
if (ev && typeof ev.preventDefault === "function") ev.preventDefault();
|
||||
ev?.stopPropagation();
|
||||
// ev?.preventDefault();
|
||||
return;
|
||||
}
|
||||
|
||||
if (!panelInfo.modal) {
|
||||
dispatch(PanelActions.popPanel());
|
||||
dispatch(changeAppStatus({ cursorVisible: false }));
|
||||
// ev?.stopPropagation();
|
||||
if (ev && typeof ev.preventDefault === "function") ev.preventDefault();
|
||||
ev?.stopPropagation();
|
||||
// ev?.preventDefault();
|
||||
return;
|
||||
}
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user